summaryrefslogtreecommitdiff
path: root/src/commands/git.js
diff options
context:
space:
mode:
authorjtsshieh <jtsshieh@outlook.com>2018-02-24 20:19:29 -0500
committerAlee14 <Alee14498@gmail.com>2018-02-24 20:19:29 -0500
commit339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff (patch)
treef65c2891131f0519554620b69f633cd463b8de48 /src/commands/git.js
parent7842d67fb29855295be0c5b56bf25647227c5e1b (diff)
downloadAleeBot-339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff.tar.gz
AleeBot-339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff.tar.bz2
AleeBot-339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff.zip
New command handler. DMme if there are any errors and what the error is. (#16)
Diffstat (limited to 'src/commands/git.js')
-rw-r--r--src/commands/git.js21
1 files changed, 14 insertions, 7 deletions
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',
+};