ReadyCommand
An event that fires when the bot is powered online.

Example 1: The event placed in the main file.

1
bot.ReadyCommand({
2
name: "39588639875304545",
3
code: `
4
$client[tag] has been rebooted!
5
`
6
})
Copied!

Example 2: The event placed in the event handler (its own file)

1
module.exports.ReadyCommand = ({
2
name: "39588639875304545",
3
code: `
4
$client[tag] has been rebooted!
5
`
6
})
Copied!
Last modified 4mo ago
Copy link