Bundled Checks
Kord Extensions provides many built-in checks that you can use in all kinds of situations. To use them, call their functions as described on the basics page.
Channels
Checks whether the current event happened in a channel ordered above the given channel in the channel list. If the current event happened in a thread or the given channel is a thread, this check will use the threads' parent channels.
Note: This check doesn't make sure both channels are in the same guild.
Channel to check against, either in ID or builder form.
Checks whether the current event happened in a channel ordered below the given channel in the channel list. If the current event happened in a thread or the given channel is a thread, this check will use the threads' parent channels.
Note: This check doesn't make sure both channels are in the same guild.
Channel to check against, either in ID or builder form.
Checks whether the current event happened in a channel within the given category. If the current event happened in a thread, this check will use the thread's parent channel.
Category to check against, either in ID or builder form.
Checks whether the current event happened in the given channel. If the current event happened in a thread, this check will use the thread's parent channel.
Channel to check against, either in ID or builder form.
Channel Types
Checks whether the current event happened in a channel matching the given channel types.
Channel types to check.
Flat Checks
These checks don't resolve the parent channel if the event happened in a thread, which can be useful if you need to match a specific thread.
Checks whether the current event happened in the given channel.
Note: If the current event happened in a thread, this check won't use the thread's parent channel.
If you need this, use inTopChannel or notInTopChannel.
Channel to check against, either in ID or builder form.
Guilds
Checks whether the current event happened in a guild.
Checks whether the current event happened in the given guild.
Guild to check against, either in ID or builder form.
Members
Checks whether the member triggering the current event has either the given permission, or the admin permission.
Permission to check for.
Checks whether the member triggering the current event has either the given permissions set, or the admin permission.
Permissions to check for.
Misc
Checks whether the user triggering the current event is the bot's sole owner.
Checks whether the user triggering the current event belongs to the bot's owning team.
Checks whether the user triggering the current event is a bot.
Checks whether the current event happened in a thread.
NSFW
These checks use Kord's NsfwLevel type, which Kord Extensions customises to allow comparisons and translations (TODO).
Checks whether the current event happened in a guild with the given NSFW level.
Checks whether the current event happened in a guild with an NSFW level higher than the one provided.
Checks whether the current event happened in a guild with an NSFW level higher than or equal to the one provided.
Checks whether the current event happened in a guild with an NSFW level lower than the one provided.
Checks whether the current event happened in a guild with an NSFW level lower than or equal to the one provided.
Checks whether the current event happened in an NSFW channel.
Checks whether the current event happened in an NSFW channel or guild.
Roles
Checks whether the user triggering the current event has the given role.
Role to check against, either in ID or builder form.
Checks whether the user triggering the current event has a top role matching the given role.
Role to check against, either in ID or builder form.
Checks whether the user triggering the current event has a top role higher than the given role.
Role to check against, either in ID or builder form.
Checks whether the user triggering the current event has a top role higher than or equal to the given role.
Role to check against, either in ID or builder form.
Checks whether the user triggering the current event has a top role lower than the given role.
Role to check against, either in ID or builder form.
Checks whether the user triggering the current event has a top role lower than or equal to the given role.
Role to check against, either in ID or builder form.