mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 01:15:32 +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) {
|
if (reply == null) {
|
||||||
replyMessage = message.content.substr(message.content.indexOf(' ') + 1);
|
replyMessage = message.content.substr(message.content.indexOf(' ') + 1);
|
||||||
} else {
|
} else {
|
||||||
replyMessage = `${message.mentions.users.map(user => `${user}`)} ${reply}`;
|
replyMessage = `${message.mentions.users.map(user => `${user.toString()}`)} ${reply}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
message.channel.send(replyMessage);
|
message.channel.send(replyMessage);
|
||||||
|
|
Loading…
Reference in a new issue