Clones the provided channel.
Last updated 2 years ago
$cloneChannel[channelID;returnChannelID]
This function has two params.
bot.commands.add({ type: "basicCommand", name: "clone", code: `New <#$channelID> Clone: <#$cloneChannel[$channelID;yes]> $onlyIf[$hasPerm[$guildID;$authorID;managechannels]==true;]` })
channelID
The channel to clone.
Snowflake
Yes
returnChannelID
Whether to return the ID of this newly cloned channel.
Boolean
No