GuildCheck.id constructor
Create a GuildCheck that succeeds if the ID of the guild the context originated in is id
.
Implementation
GuildCheck.id(Snowflake id, {String? name})
: guildIds = [id],
super(
(context) => context.guild?.id == id,
name: name ?? 'Guild Check on $id',
allowsDm: false,
);