hasPermission

abstract fun hasPermission(vararg permission: GuildPermission): Boolean(source)

Checks if the member has a specific permission.

Return

True if the member has the permission, false otherwise.

Parameters

permission

The permission to check.