use channel name

merge-requests/5/merge
loicbersier 5 years ago
parent b60057e110
commit 0ad53eac4b

@ -261,7 +261,7 @@ class messageListener extends Listener {
.setColor(quote.member.displayHexColor)
.setAuthor(quote.author.username, quote.author.displayAvatarURL())
.addField('Jump to', `[message](https://discordapp.com/channels/${message.guild.id}/${channelID}/${messageID})`, true)
.addField('In channel', quote.channel, true)
.addField('In channel', quote.channel.name, true)
.addField('Quoted by', message.author, true)
.setDescription(quote.content)
.setTimestamp(quote.createdTimestamp);

Loading…
Cancel
Save