Command executes when the bot gets added to a new guild.
Last updated 3 years ago
Event: onReady Type: readyCommand
onReady
readyCommand
Adding the onReady Event:
bot.addEvent([ "onMessage", "onInteraction", "onReady" //This is what you need to add ])
bot.commands.add({ type: "readyCommand", code: `$channelSendMessage[773363417338609674;I'm ready! :rocket:]` })