getMissingPermissions

fun getMissingPermissions(requiredPerms: EnumSet<Permission>, permissionHolder: IPermissionHolder, channel: GuildChannel): Set<Permission>(source)

Computes the missing permissions from the specified permission holder, if you plan on showing them, be sure to use PermissionLocalization.localize.

See also