use channel name
This commit is contained in:
parent
b60057e110
commit
0ad53eac4b
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class messageListener extends Listener {
|
||||||
.setColor(quote.member.displayHexColor)
|
.setColor(quote.member.displayHexColor)
|
||||||
.setAuthor(quote.author.username, quote.author.displayAvatarURL())
|
.setAuthor(quote.author.username, quote.author.displayAvatarURL())
|
||||||
.addField('Jump to', `[message](https://discordapp.com/channels/${message.guild.id}/${channelID}/${messageID})`, true)
|
.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)
|
.addField('Quoted by', message.author, true)
|
||||||
.setDescription(quote.content)
|
.setDescription(quote.content)
|
||||||
.setTimestamp(quote.createdTimestamp);
|
.setTimestamp(quote.createdTimestamp);
|
||||||
|
|
Loading…
Reference in a new issue