Removed debugging info

This commit is contained in:
2018-10-21 19:30:43 +11:00
parent a3278df6b2
commit 0d55724a76

View File

@@ -221,9 +221,7 @@ function processGameplayCommands(message) {
} }
//try to send the money //try to send the money
let val = dataRequest.sendServerData("transfer", targetMember.id, message.author.id, amount); if (dataRequest.sendServerData("transfer", targetMember.id, message.author.id, amount) != "success") {
if (val != "success") {
shared.SendPublicMessage(client, message.author, message.channel, val);
shared.SendPublicMessage(client, message.author, message.channel, dialog("giveFailed")); shared.SendPublicMessage(client, message.author, message.channel, dialog("giveFailed"));
return true; return true;
} }