checkBotPerms

open suspend fun checkBotPerms(context: C)

Checks whether the bot has the specified required permissions, throwing if it doesn't.