mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-22 19:55:38 +00:00
quote: fix pinging
This commit is contained in:
parent
09867e2c0d
commit
c0ab384086
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue