$modifyChannel
Modifies a channel with 7 editable properties. Acts much like a compact function.

FUNCTION USAGE

  • $modifyChannel[channelD;property;input]

Properties:

channelID - Define a channel to modify with it's ID. If left blank, it will modify the current channel. property - The channel property to modify. input - The property value of the new modification.

Options(7):

  • name
  • topic
  • position
  • nsfw
  • parentid
  • lockperms
  • slowmode

Example:

1
bot.Command({
2
name: "channeltopic",
3
code: `
4
$modifyChannel[$channelID;topic;Here's the new channel topic!]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link