diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-04-05 19:17:23 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-04-05 19:17:23 -0400 |
| commit | 777355db9cd0121fc41e554906ebaca049fe66ad (patch) | |
| tree | 9e7da7fbd47d60e3ec60fcd2985314d674ef7713 /commands/Moderation/lswarns.js | |
| parent | 8186a6af44384b8782f72a4dd7dd3f2d51188bfe (diff) | |
| download | PokeBot-777355db9cd0121fc41e554906ebaca049fe66ad.tar.gz PokeBot-777355db9cd0121fc41e554906ebaca049fe66ad.tar.bz2 PokeBot-777355db9cd0121fc41e554906ebaca049fe66ad.zip | |
cleanup
Diffstat (limited to 'commands/Moderation/lswarns.js')
| -rw-r--r-- | commands/Moderation/lswarns.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Moderation/lswarns.js b/commands/Moderation/lswarns.js index 0a165b3..732184d 100644 --- a/commands/Moderation/lswarns.js +++ b/commands/Moderation/lswarns.js @@ -12,11 +12,11 @@ exports.run = async (bot, msg) => { const { RichEmbed } = require('discord.js'); const warns = await db.fetch(`warns_${msg.guild.id}_${msg.author.id}`); - if (!warns) return await msg.reply('Yay! You have no warns.'); + if (!warns) return await msg.reply('You don\'t have any warnings in this server.'); const embed = new RichEmbed() .setTitle('Warns'); for (let i = 0; i < warns.count; i++) { - embed.addField('Warning #' + i+1, warns.reasons[i]); + embed.addField('Warning #' + i + 1, warns.reasons[i]); } msg.channel.send({ embed }); }; |
