From 339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sat, 24 Feb 2018 20:19:29 -0500 Subject: New command handler. DMme if there are any errors and what the error is. (#16) --- src/commands/git.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/commands/git.js') diff --git a/src/commands/git.js b/src/commands/git.js index 6c2bbb5..a01d0a3 100644 --- a/src/commands/git.js +++ b/src/commands/git.js @@ -1,7 +1,14 @@ -module.exports.run = async (client, message, args, abVersion) => { - message.author.send("I can see you want to contribute to this project.\nHere's the link: https://github.com/AleeCorp/AleeBot") - } - - module.exports.config = { - command: "git" - } \ No newline at end of file +module.exports.run = async (client, message) => { + message.author.send('I can see you want to contribute to this project.\nHere\'s the link: https://github.com/AleeCorp/AleeBot'); +}; + +exports.conf = { + aliases: [], + guildOnly: false, +}; +exports.help = { + name: 'git', + description: 'Get the git info.', + usage: 'git', + category: '- General Commands', +}; -- cgit v1.2.3