JoinedCommand
Triggers when an member joins a guild.

Example 1: The event placed in the main file.

1
bot.JoinedCommand({
2
name: "$getServerVar[channel]",
3
code: `
4
$tag just joined $guildName
5
`
6
})
7
bot.onJoined()
Copied!

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

bot.onJoined() - Goes in the main file to be able to call the event!
1
module.exports.JoinedCommand = ({
2
name: "$systemChannelID",
3
code: `
4
$tag just joined $guildName
5
`
6
})
Copied!
Last modified 4mo ago
Copy link