$channelPermissionsFor
$channelPermissionsFor
will return the channel permissions of a specific user or role.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
userOrRoleID | number | The user or role ID whose permissions shall be returned. | true |
channelID | number | The channel ID of the channel of which the permissions should be returned of. | true |
sep? | string | The separator which will be used to separate the permissions, by default ”,“. | false |
Example(s)
This will return your permissions in the channel where you execute the command: