diff options
| author | jtsshieh <jtsshieh@outlook.com> | 2018-02-24 20:19:29 -0500 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2018-02-24 20:19:29 -0500 |
| commit | 339108b2e4815ffeee9cf6e8940cfb7e12bbf5ff (patch) | |
| tree | f65c2891131f0519554620b69f633cd463b8de48 /src/commands/git.js | |
| parent | 7842d67fb29855295be0c5b56bf25647227c5e1b (diff) | |
| download | AleeBot-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.js | 21 |
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',
+};
|
