Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send a message when a bot joins your server discord.js

client.on('guildCreate', guild => {
  guild.systemChannel.send(`Hello, I'm LMAOBOT. Thanks for inviting me, here are a list of all my commands! :alien:`)
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #message #bot #joins #server
ADD COMMENT
Topic
Name
2+4 =