diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-02-25 23:13:39 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-02-25 23:13:39 -0500 |
| commit | 5777f96394444dab18a81d6f085ac81df3e62008 (patch) | |
| tree | 47dc895e50fa95b52a894bf0806e1a6c1edc8818 /commands/quote.js | |
| parent | de5ee661cad7b1fef0f319cbaccd888cb75a1dd4 (diff) | |
| download | AleeBot-2.13.0.tar.gz AleeBot-2.13.0.tar.bz2 AleeBot-2.13.0.zip | |
2.13 Release (finally); Added more API entries; Proper loggingv2.13.0
Diffstat (limited to 'commands/quote.js')
| -rw-r--r-- | commands/quote.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/quote.js b/commands/quote.js index 02699cd..f19675f 100644 --- a/commands/quote.js +++ b/commands/quote.js @@ -30,13 +30,12 @@ module.exports.run = async (client, message, args) => { const quote = await quoteDB.findOne({ where: { id: quoteID } }) - if (quote) { const quoteEmbed = new MessageEmbed() .setAuthor({ name: quote.author, iconURL: quote.authorImage }) .setDescription(quote.quote) .setColor('#1fd619') - .setFooter('- ' + quote.year); + .setFooter(`- ${quote.year}\nSubmitted by ${quote.submitter}`); await message.reply({ embeds: [quoteEmbed] }) } else { |
