GuildCheck.all constructor

GuildCheck.all(
  1. {String? name}
)

Create a GuildCheck that succeeds if the context originated in a guild.

You might also be interested in:

Implementation

GuildCheck.all({String? name})
    : guildIds = [null],
      super(
        (context) => context.guild != null,
        name: name ?? 'Guild Check on <any>',
        allowsDm: false,
      );