Moderation
clearChannelPerms
$clearChannelPerms — Deletes all permission overwrites from the channel or given id, returns bool
Deletes all permission overwrites from the channel or given id, returns bool
Syntax
$clearChannelPerms[channelID;(id)]
Parameters
- channelID (id, required) — The channel to delete perms from
- id (id, optional) — The role or member id to delete all perms for
Return Value
- Boolean.
Usage
$clearChannelPerms[channelID;(id)] → result
Example
$sendMessage[$clearChannelPerms[30]]
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.