From c0ab3840869f8806b2ab42b804fb8dd74a25dcea Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sat, 2 May 2020 13:06:09 -0600 Subject: [PATCH] quote: fix pinging --- src/commands/quote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/quote.ts b/src/commands/quote.ts index 635b302..c34c620 100644 --- a/src/commands/quote.ts +++ b/src/commands/quote.ts @@ -6,7 +6,7 @@ export function command (message: discord.Message, reply: string) { if (reply == null) { replyMessage = message.content.substr(message.content.indexOf(' ') + 1); } else { - replyMessage = `${message.mentions.users.map(user => `${user}`)} ${reply}`; + replyMessage = `${message.mentions.users.map(user => `${user.toString()}`)} ${reply}`; } message.channel.send(replyMessage);