aboutsummaryrefslogtreecommitdiff
path: root/commands/quote.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-01-11 11:55:18 -0500
committerAndrew Lee <andrew@alee14.me>2025-01-11 11:55:18 -0500
commitf5de90ba89146008af78c16e798e216efccf0c50 (patch)
tree75f2bb7cee8bacce3f92c2b1bc468c7831b3429e /commands/quote.js
parent83dcca0a0279ce6415a3e9d153c13d91284369b0 (diff)
downloadAleeBot-f5de90ba89146008af78c16e798e216efccf0c50.tar.gz
AleeBot-f5de90ba89146008af78c16e798e216efccf0c50.tar.bz2
AleeBot-f5de90ba89146008af78c16e798e216efccf0c50.zip
Ability to add quotes, web interface, pending quotes
Diffstat (limited to 'commands/quote.js')
-rw-r--r--commands/quote.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/quote.js b/commands/quote.js
index 37f5714..02699cd 100644
--- a/commands/quote.js
+++ b/commands/quote.js
@@ -18,7 +18,7 @@
*
* *************************************/
module.exports.run = async (client, message, args) => {
- const quoteDB = require('../models/quote');
+ const { quote: quoteDB } = require('../models/quote');
const { MessageEmbed } = require('discord.js');
let quoteID = args[0];
@@ -38,7 +38,7 @@ module.exports.run = async (client, message, args) => {
.setColor('#1fd619')
.setFooter('- ' + quote.year);
- await message.reply({ content: 'Alright, here\'s your quote.', embeds: [quoteEmbed] })
+ await message.reply({ embeds: [quoteEmbed] })
} else {
message.reply('Cannot find quote, specify the correct quote id.');
}