aboutsummaryrefslogtreecommitdiff
path: root/commands/Fun/balance.js
blob: afe094ecd66f05683be3aa93cf88ee5e41e3930c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** **************************************
 *
 *   Get Credits: Plugin for PokeBot that gives you credits.
 *   Copyright (C) 2018 TheEdge, jtsshieh, Alee
 *
 *   Licensed under the Open Software License version 3.0
 *
 * *************************************/

exports.run = async (bot, msg) => {
  const credits = await bot.plugins.economy.get(msg.author.id);
  msg.reply(credits + ' credits');
};

exports.conf = {
  aliases: ['bal', 'money', 'credits'],
  guildOnly: true,
};

exports.help = {
  name: 'balance',
  description: 'Check your balance!',
};