summaryrefslogtreecommitdiff
path: root/commands/addquote.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-04-21 22:53:13 -0400
committerAlee <alee14498@gmail.com>2018-04-21 22:53:13 -0400
commit6d23c51eb64ce44269fc59c5289880b2d5c30396 (patch)
treedeabcafa4743d63af93e4a43c113d52d0b669f8b /commands/addquote.js
parentdf82f78cf88104ae77d008b6c2cd54a663a68cf9 (diff)
downloadAleeBot-6d23c51eb64ce44269fc59c5289880b2d5c30396.tar.gz
AleeBot-6d23c51eb64ce44269fc59c5289880b2d5c30396.tar.bz2
AleeBot-6d23c51eb64ce44269fc59c5289880b2d5c30396.zip
Uhhh yeah I don't know what to do...
Diffstat (limited to 'commands/addquote.js')
-rw-r--r--commands/addquote.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/commands/addquote.js b/commands/addquote.js
index e5290bc..a957c59 100644
--- a/commands/addquote.js
+++ b/commands/addquote.js
@@ -18,8 +18,6 @@
*
* *************************************/
module.exports.run = async (client, message, args) => {
- message.reply('This command is in working progress');
- /*
const moment = require('moment');
const log = message => {
@@ -27,7 +25,7 @@ module.exports.run = async (client, message, args) => {
};
const fs = require('fs');
- if(!args[0]) return message.reply(`Usage: ab:addquote [author] [authorImage] [quote]`)
+ if(!args[0]) return message.reply(`Usage: ab:addquote [author] [authorImage] [quote] [year]`)
let quotes = JSON.parse(fs.readFileSync("./storage/quotes.json", "utf8"));
@@ -43,7 +41,7 @@ module.exports.run = async (client, message, args) => {
})
message.reply(`You just added a new quote!`);
- log(`[i] A quote has been added to quotes.json...`) */
+ log(`[i] A quote has been added to quotes.json...`)
};
exports.conf = {