Skip to content

$rolePerms

$rolePerms will return all given permissions of a role.

Usage

$rolePerms[roleID;sep?;guildID?]

Parameters

FieldTypeDescriptionRequired
roleIDnumberThe role ID.true
sep?numberSeparator to separate multiple returned values.false
guildID?numberThe guild ID.false

Example(s)

This will return the permissions for the @everyone role:

1
client.command({
2
name: "rolePerms",
3
code: `
4
$rolePerms[$guildID;, ;$guildID]
5
`
6
});