This commit is contained in:
Jan 2020-11-28 23:51:35 +01:00
parent 810b2b9236
commit c15e5b4d01

View file

@ -17,6 +17,7 @@ module.exports.run = async (message, args) => {
addCmd(embed, 'ping', 'Show the bot\'s ping');
addCmd(embed, 'coins', 'See how much karma/coins you have');
addCmd(embed, 'top', 'Karma leaderboard');
addCmd(embed, 'setcoins', '[Staff command] Manage a user\'s coins')
message.channel.send(embed);
}
@ -28,5 +29,5 @@ module.exports.run = async (message, args) => {
* @param {string} text
*/
function addCmd(embed, cmd, text) {
embed.addField(`${prefix}cmd`, text, true);
embed.addField(`${prefix}${cmd}`, text, true);
}