From 0ad53eac4b077b1067b57e22a9eb85d99e9ae7e0 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 5 Mar 2020 22:43:11 +0100 Subject: [PATCH] use channel name --- event/listeners/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/listeners/message.js b/event/listeners/message.js index d2dde9f5..e564973e 100644 --- a/event/listeners/message.js +++ b/event/listeners/message.js @@ -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);