diff options
| author | Unknown <Alee14498@gmail.com> | 2017-10-27 10:25:52 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-10-27 10:25:52 -0400 |
| commit | 2919c9edb5090bd1e8d1c86556301a6977d415ae (patch) | |
| tree | ac9cd14435807f30df3ec663358d006968d501ce | |
| parent | b07b44df1969afe14ebed70fb0712abf04e8a02b (diff) | |
| download | AstralQuote-ATC-2919c9edb5090bd1e8d1c86556301a6977d415ae.tar.gz AstralQuote-ATC-2919c9edb5090bd1e8d1c86556301a6977d415ae.tar.bz2 AstralQuote-ATC-2919c9edb5090bd1e8d1c86556301a6977d415ae.zip | |
Removed guildMemberAdd
| -rw-r--r-- | bot.js | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -321,16 +321,15 @@ client.on('message', message => { } }); -client.on('guildMemberAdd', usr => { - - var embed = new Discord.RichEmbed(); - - embed.setAuthor("Victor Tran", "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg"); - embed.setColor("#0096FF"); - embed.setDescription(":wave: **HEY HEY HEY**! Welcome " + usr.displayName + " to AstrelTaser Cantral! Before you start, we recommend you check the rules over at https://docs.google.com/spreadsheets/d/1JUxm3ykqCWCagXZqGo390fO9Fl7IpGcnHmCfdrdBx8w/edit?usp=drivesdk. Thanks, and enjoy the community. - Victor"); - embed.setURL("https://docs.google.com/spreadsheets/d/1JUxm3ykqCWCagXZqGo390fO9Fl7IpGcnHmCfdrdBx8w/edit?usp=drivesdk"); - - usr.sendEmbed(embed) + +client.on('guildCreate', guild => { + console.log(`[>] I just joined ${guild.name}. This server have ${guild.memberCount} members.`) + +}); + +client.on('guildDelete', guild => { + console.log(`[>] I was removed from ${guild.name}.`) + }); client.login(config.token).catch( |
