diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-01-02 13:53:18 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-01-02 13:53:18 -0500 |
| commit | e5a8fa84938e76dcc7177b46efab1815eca7c293 (patch) | |
| tree | d53e8fd7811bb4e4ae2b11380bba8df1d2d7b704 /commands/addquote.js | |
| parent | 898d230151b13b386108e139ffe34648da45675d (diff) | |
| download | AleeBot-e5a8fa84938e76dcc7177b46efab1815eca7c293.tar.gz AleeBot-e5a8fa84938e76dcc7177b46efab1815eca7c293.tar.bz2 AleeBot-e5a8fa84938e76dcc7177b46efab1815eca7c293.zip | |
2020 changes and tweaked some stuff
Diffstat (limited to 'commands/addquote.js')
| -rw-r--r-- | commands/addquote.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/addquote.js b/commands/addquote.js index 1de8809..04df3f4 100644 --- a/commands/addquote.js +++ b/commands/addquote.js @@ -1,7 +1,7 @@ /**************************************** * * AddQuote: Command for AleeBot - * Copyright (C) 2018 AleeCorp + * Copyright (C) 2017-2020 Alee Productions * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ * * *************************************/ module.exports.run = async (client, message, args) => { - /* + /* const moment = require('moment'); const log = message => { @@ -26,7 +26,7 @@ module.exports.run = async (client, message, args) => { }; const fs = require('fs'); - if(!args[0]) return message.reply(`Usage: ab:addquote [author] [authorImage] [quote] [year]`) + 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 +43,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...`) - */ +*/ message.reply('Command is broken for now'); }; |
