mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 23:52:14 +11:00
14 lines
359 B
JavaScript
14 lines
359 B
JavaScript
const { checkbal } = require("../../helpers/ccash");
|
|
|
|
module.exports = {
|
|
name: "checkbal",
|
|
description: "check your ccash balance",
|
|
async execute(message, args) {
|
|
let bal = await checkbal(message.author, args[0]);
|
|
if (bal == -1) {
|
|
message.reply("User not found");
|
|
} else {
|
|
message.reply(bal.toString() + " CCash");
|
|
}
|
|
},
|
|
};
|