memberHasPermission

open fun memberHasPermission(player: Player, perm: String): Boolean(source)

Determine if a player has role permission

Return

has permission or not

Parameters

player

the player to check

perm

the permission as a string to check


open fun memberHasPermission(player: Player, perm: GuildRolePerm): Boolean(source)

Determine if a player has role permission

Return

has permission or not

Parameters

player

the player to check

perm

the permission as an enum value