forked from Supositware/Haha-Yes
changed the embed a little and fixed thumbnail
This commit is contained in:
parent
db59873db7
commit
fd12f4a373
2 changed files with 14 additions and 6 deletions
|
@ -16,10 +16,14 @@ class guildCreateListener extends Listener {
|
|||
const channel = this.client.channels.get(statsChannel);
|
||||
const addEmbed = new MessageEmbed()
|
||||
.setColor('#52e80d')
|
||||
.setTitle('Someone added me ! YAY :D')
|
||||
.setTitle('New boiz in town')
|
||||
.setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4')
|
||||
.setThumbnail(guild.iconURL)
|
||||
.setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`)
|
||||
.setThumbnail(guild.iconURL())
|
||||
.addField('Guild name', guild.name, true)
|
||||
.addField('Guild ID', guild.id, true)
|
||||
.addField('Numbers of members', guild.memberCount)
|
||||
.addField('Owner', guild.owner.user.username, true)
|
||||
.addField('Ower ID', guild.owner.id, true)
|
||||
.setTimestamp();
|
||||
|
||||
channel.send({ embed: addEmbed });
|
||||
|
|
|
@ -17,10 +17,14 @@ class guildCreateListener extends Listener {
|
|||
|
||||
const kickEmbed = new MessageEmbed()
|
||||
.setColor('#FF0000')
|
||||
.setTitle('They kicked me out :(')
|
||||
.setTitle('Some mofo just removed me from there guild :(')
|
||||
.setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4')
|
||||
.setThumbnail(guild.iconURL)
|
||||
.setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`)
|
||||
.setThumbnail(guild.iconURL())
|
||||
.addField('Guild name', guild.name, true)
|
||||
.addField('Guild ID', guild.id, true)
|
||||
.addField('Numbers of members', guild.memberCount)
|
||||
.addField('Owner', guild.owner.user.username, true)
|
||||
.addField('Ower ID', guild.owner.id, true)
|
||||
.setTimestamp();
|
||||
|
||||
channel.send({ embed: kickEmbed });
|
||||
|
|
Loading…
Reference in a new issue