Entity Info
channelHasPerms
$channelHasPerms — Returns whether role or member has perms in a channel
Returns whether role or member has perms in a channel
Syntax
$channelHasPerms[channelID;id;permissions...]
Parameters
- channelID (id, required) — The channel to get perms from
- id (id, required) — The role or user to get perms of
- permissions… (text, required) — The perms to check for
Return Value
- Boolean.
Usage
$channelHasPerms[channelID;id;permissions...] → result
Example
$sendMessage[$channelHasPerms[30;71;ViewChannel]]
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.