From 908bec2e72fec62c2d02d176192c057dccb82518 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 11 Mar 2018 20:37:36 -0400 Subject: trey is dumb --- commands/Moderation/warn.js | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/Moderation/warn.js') 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) -- cgit v1.2.3