Package-level declarations
Functions
Link copied to clipboard
suspend fun CheckContext<ChatInputCommandInteractionCreateEvent>.allowedCategory(allowed: List<Snowflake>, banned: List<Snowflake>)
Check ensuring that a command was sent within an allowed category, or not within a banned one.
Link copied to clipboard
suspend fun CheckContext<ChatInputCommandInteractionCreateEvent>.allowedChannel(allowed: List<Snowflake>, banned: List<Snowflake>)
Check ensuring that a command was sent within an allowed channel, or not within a banned one.
Link copied to clipboard
suspend fun CheckContext<ChatInputCommandInteractionCreateEvent>.allowedGuild(allowed: List<Snowflake>, banned: List<Snowflake>)
Check ensuring that a command was sent within an allowed guild, or not within a banned one.
Link copied to clipboard
Configure the mappings extension and add it to the bot.