$cloneChannel
$cloneChannel will clone a channel.
Usage
$cloneChannel[channelID;name;returnID?]Parameters
| Field | Type | Description | Required | 
|---|---|---|---|
| channelID | number | The ID of the channel which is to clone. | true | 
| name | string | The new name of the cloned channel. | true | 
| returnID? | boolean | If the function should return the ID of the newly created channnel. | false | 
It won’t clone any messages of that channel.
Example(s)
This will clone the current channel and name it “new channel”:
1client.command({2    name: "cloneChannel",3    code: `4  $cloneChannel[$channelID;new channel;false]5  `6});