GuildCheck constructor
Create a GuildCheck that succeeds if the context originated in guild
.
You might also be interested in:
- GuildCheck.id, for creating this same check without an instance of Guild;
- GuildCheck.any, for checking if the context originated in any of a set of guilds.
Implementation
GuildCheck(Guild guild, {String? name}) : this.id(guild.id, name: name);