MessageChatCommandCheck constructor
- {String name = 'Message chat command check'}
Create a new MessageChatCommandCheck.
Implementation
MessageChatCommandCheck({super.name = 'Message chat command check'})
: super(
(context) => context is MessageChatContext,
// Don't enable slash commands with this check either in DMs or in guilds.
allowsDm: false,
requiredPermissions: Permissions(0),
);