diff options
| author | Alee <Alee14498@gmail.com> | 2020-01-02 14:46:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-02 14:46:06 -0500 |
| commit | dcec0212db88a775967f975c9c1d32dec7f63ec8 (patch) | |
| tree | 4a6c2b6f8fc6b51971ef82b18cfdc66ea33f8e06 /commands/addquote.js | |
| parent | c8b8ba0bc5774bda115c368e8ce30a74b72b7231 (diff) | |
| download | AleeBot-dcec0212db88a775967f975c9c1d32dec7f63ec8.tar.gz AleeBot-dcec0212db88a775967f975c9c1d32dec7f63ec8.tar.bz2 AleeBot-dcec0212db88a775967f975c9c1d32dec7f63ec8.zip | |
Beta (#20)
* 2.12.0 Beta
* 2020 changes and tweaked some stuff
* remove lock
* more copyright update
* Service status, updating readme files
* readme changes
* readme changes x2
* 2.12.0 release
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'); }; |
