notHasPermissions

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

Check asserting that the user an Event fired for does not have 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.