Command executes when the bot gets added to a new guild.
Last updated 3 years ago
Event: onBotJoin Type: botJoinCommand
onBotJoin
botJoinCommand
Add the onBotJoin Event:
bot.addEvent([ "onMessage", "onInteraction", "onBotJoin" //This is what you need to add ])
bot.commands.add({ type: "botJoinCommand", code: `$channelSendMessage[773363417338609674; $title[1;New Guild] $color[1;RANDOM] $description[1;Guild Name: $serverName[$guildID] Guild ID: $guildID]]` })