forked from Supositware/Haha-Yes
Use description instead of title
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
57602e33fa
commit
66314b5c79
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@ class messageDeleteListener extends Listener {
|
||||||
let Embed = this.client.util.embed()
|
let Embed = this.client.util.embed()
|
||||||
.setColor('NAVY')
|
.setColor('NAVY')
|
||||||
.setAuthor(`${message.author.username}#${message.author.discriminator}`)
|
.setAuthor(`${message.author.username}#${message.author.discriminator}`)
|
||||||
.setTitle(`${message.author.username} deleted their message in ${message.channel.name}`)
|
.setDescription(`**${message.author} deleted their message in ${message.channel}**`)
|
||||||
.setDescription(message)
|
.addField('Message deleted', message)
|
||||||
.setFooter(`Author ID: ${message.author.id}`)
|
.setFooter(`Author ID: ${message.author.id}`)
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ class messageUpdateListener extends Listener {
|
||||||
let Embed = this.client.util.embed()
|
let Embed = this.client.util.embed()
|
||||||
.setColor('NAVY')
|
.setColor('NAVY')
|
||||||
.setAuthor(`${newMessage.author.username}#${newMessage.author.discriminator}`, newMessage.author.displayAvatarURL())
|
.setAuthor(`${newMessage.author.username}#${newMessage.author.discriminator}`, newMessage.author.displayAvatarURL())
|
||||||
.setTitle(`${newMessage.author.username} modified their message in ${newMessage.channel.name}`)
|
.setDescription(`**${newMessage.author} modified their message in ${newMessage.channel}**`)
|
||||||
.addField('Previously', oldMessage, true)
|
.addField('Previously', oldMessage, true)
|
||||||
.addField('Currently', newMessage, true)
|
.addField('Currently', newMessage, true)
|
||||||
.setFooter(`Author ID: ${newMessage.author.id}, Message ID: ${newMessage.id}`)
|
.setFooter(`Author ID: ${newMessage.author.id}, Message ID: ${newMessage.id}`)
|
||||||
|
|
Loading…
Reference in a new issue