bostie.checks¶
bostie.checks
¶
Cooldown
¶
ReleasingCheck
¶
MaxConcurrency
¶
has_permissions
¶
has_permissions(permissions: Permissions) -> Callable[[Any], bool]
A check that the user has permissions in the channel it was used in.
bot_has_permissions
¶
bot_has_permissions(permissions: Permissions) -> Callable[[Any], bool]
A check that the bot has permissions in the channel it was used in.
has_role
¶
A check that the user has role, by id or by name in the cached guild.
has_any_role
¶
A check that the user has one of roles, each by id or by cached name.