forked from Lea/obama-bot
burh
This commit is contained in:
parent
810b2b9236
commit
c15e5b4d01
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue