fixed ambiguousness

This commit is contained in:
2019-06-11 03:17:46 +10:00
parent 965f75595b
commit 0949ab7469
2 changed files with 3 additions and 2 deletions

View File

@@ -163,6 +163,7 @@ function doCommand(msg, prefix) {
else {
var command = message.replace("@" + msg.guild.me.displayName, "").trim().split(" ", 1)[0];
msg.suffix = message.replace("@" + msg.guild.me.displayName, "").replace(command, "").trim()
//msg.mentions.users = msg.mentions.users.filter(mention => mention.id != client.user.id);
}