v5.0.0
$messagePublish
This function will publish the message (Only works in announcement channels)
Raw usage: $messagePublish[Channel ID (Optional);Message ID (Optional)]
Example:
1
bot.command({
2
name: "publish",
3
code: `
4
$messagePublish
5
Hello!
6
`
7
})
8
/**
9
* With this the bot will send a message saying
10
* 'Hello!'
11
* And once the message was sent it will publish it
12
* Sending it to every server who follows that
13
* Announcements channel.
14
*/
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub