Wallet balance is working

This commit is contained in:
2018-10-29 08:31:38 +11:00
parent b4e42e4d76
commit ccefdff498
3 changed files with 205 additions and 133 deletions

View File

@@ -139,6 +139,12 @@ function processBasicCommands(client, message) {
}
return true;
case "wallet": //DEBUGGING
shared.OnServerData("account", (amount) => {
shared.SendPublicMessage(client, message.channel, "Wallet: " + amount);
}, message.author.id);
return true;
//ADAM and the faction leaders print the intros in the gate
//TODO: prune the unneeded intros from each bot
case "intro":