Skip to content
Snippets Groups Projects
Commit feb27a78 authored by Reviath's avatar Reviath
Browse files

Update commands/balance.js

parent 209e520a
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@ exports.run = async(client, message, args) => {
}
let balance = await db.get(`Balance_${message.author.id}`);
if(balance === null) {
balance = "0"
}
let balances = numberWithCommas(balance);
message.channel.send(`You balance is ${balances}$`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment