aboutsummaryrefslogtreecommitdiff
path: root/commands/Moderation/warn.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Moderation/warn.js')
-rw-r--r--commands/Moderation/warn.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js
index fc965b7..816367d 100644
--- a/commands/Moderation/warn.js
+++ b/commands/Moderation/warn.js
@@ -40,6 +40,7 @@ exports.run = async (bot, msg, args) => {
}
const { RichEmbed } = require('discord.js');
+ const logChannel = await bot.plugins.settings.getStr('logs', msg.guild.id);
bot.channels.find('id', logChannel).send(
new RichEmbed()
.setColor(0x00ae86)