hasPermissions

suspend fun CheckContext<*>.hasPermissions(perms: Permissions)

Check asserting that the user an Event fired for has the given permissions set, or the Administrator permission.

Only events that can reasonably be associated with a guild member are supported. Please raise an issue if an event you expected to be supported, isn't.

Parameters

perms

The permissions to check for.