From fc76d7c73ae9ffec6be86fc7d9d9e8c9a14605ab Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 22 May 2020 20:36:26 -0400 Subject: Added more ALP exclusive logs & cleaning up code --- commands/quote.js | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'commands/quote.js') diff --git a/commands/quote.js b/commands/quote.js index 9aa9be0..ce7b56a 100644 --- a/commands/quote.js +++ b/commands/quote.js @@ -1,5 +1,5 @@ -/**************************************** - * +/** ************************************** + * * Quote: Command for AleeBot * Copyright (C) 2017-2020 Alee Productions * @@ -15,16 +15,16 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * + * * *************************************/ module.exports.run = async (client, message) => { -const Discord = require('discord.js'); + const Discord = require('discord.js'); -let NewQuote; + let NewQuote; function GetNewQuote(quoteNum = -1) { NewQuote = new Discord.RichEmbed(); - + let quo = require('../storage/quotes.json').quotes; if (quoteNum == -1) { @@ -47,19 +47,18 @@ let NewQuote; return NewQuote; } - const newquote = GetNewQuote(); - message.reply('Alright, here\'s your quote.') - message.channel.send(newquote); + const newquote = GetNewQuote(); + message.reply('Alright, here\'s your quote.'); + message.channel.send(newquote); }; exports.conf = { - aliases: [], - guildOnly: false, - }; - exports.help = { - name: 'quote', - description: 'Tells you quotes', - usage: 'quote', - category: '- Quote Commands', - }; - \ No newline at end of file + aliases: [], + guildOnly: false, +}; +exports.help = { + name: 'quote', + description: 'Tells you quotes', + usage: 'quote', + category: '- Quote Commands', +}; -- cgit v1.2.3