welcome bot
How do you make the bot send a welcome message
Solution:Jump to solution
1. Add a config command so people can configure the channel it should be sent in
2. Add a listener for
guildMemberAdd
, the DiscordJS event for when a new member joins the server
3. When that listener pops send a message to the configured channel, or the system channel if none was set.
Also refer to our user guide for getting started: https://sapphirejs.dev...Sapphire Framework
Home | Sapphire
Sapphire is a next-gen Discord bot framework for developers of all skill levels to make the best JavaScript/TypeScript based bots possible.
2 Replies
Solution
1. Add a config command so people can configure the channel it should be sent in
2. Add a listener for
guildMemberAdd
, the DiscordJS event for when a new member joins the server
3. When that listener pops send a message to the configured channel, or the system channel if none was set.
Also refer to our user guide for getting started: https://sapphirejs.devSapphire Framework
Home | Sapphire
Sapphire is a next-gen Discord bot framework for developers of all skill levels to make the best JavaScript/TypeScript based bots possible.
OP left server 3 minutes after my reply. Locking thread.