$messagePublish
$messagePublish
will publish a message in an announcement channel.
Usage
$messagePublish[messageID;channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageID | number | The ID of the message which should be published. | true |
channelID? | number | The ID of the channel where the given message is located in. | false |
Example(s)
This will publish a message ( will only work in announcement channels ):
1client.command({2 name: "messagePublish",3 code: `4 $messagePublish[$get[msgID];$channelID]5 $let[msgID;$sendMessage[Hello!;true]]6 `7});