hasPerm

Checks whether the role has a specific permission.

Return

A boolean indicating whether the role has the specified permission or not.

Parameters

perm

The GuildRolePerm object representing the permission to check.