$modifyChannelPerms

(deprecated)

🧙‍♂️ This command is deprecated, instead better use $editChannelPerms[].

Modifies a channel's permissions.

Syntax

$modifyChannelPerms[Channel ID;Permissions;User/Role ID]

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel to change the permissions for.
  • Permissions (Type: Permission || Flag: Required): The permissions to add/remove. + means allow, - means deny, / means neutral permission.
  • User/Role ID (Type: Snowflake || Flag: Required): The role or user to modify the permissions for. Use $guildID for @everyone.

Example

Lock:

$nomention
$onlyPerms[managechannels;❌ You need the manage_channels permission to use that!]
✅ Successfully locked <#$mentionedChannels[1;yes]>!
$modifyChannelPerms[$mentionedChannels[1;yes];-sendmessages;$guildID]

example1

Unlock:

$nomention
$onlyPerms[managechannels;❌ You need the manage_channels permission to use that!]
✅ Successfully unlocked <#$mentionedChannels[1;yes]>!
$modifyChannelPerms[$mentionedChannels[1;yes];+sendmessages;$guildID]

example2