Permission
channelPerms
$channelPerms
$channelPerms is another name of $channelPermissions[]: it lists what a member or a role can really do in one channel, with the channel overwrites applied.
Syntax
$channelPerms[channelID;(memberOrRoleID);(separator)]
Parameters
| Parameter | Description |
|---|---|
channelID |
Required. The ID of a channel of the server. |
memberOrRoleID |
Optional. A member or a role. By default the author of the command. |
separator |
Optional. Text placed between two permissions, , by default. |
Example
$channelPerms[$channelID;$authorID]
See $channelPermissions[] for the details.
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.