From 9056d09d3c397fc3a64f27cfae3ce06c6a758c16 Mon Sep 17 00:00:00 2001 From: TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 11 Mar 2018 20:33:17 -0400 Subject: 1.0.1 fixes --- commands/Moderation/warn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/Moderation/warn.js') diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js index 76d8013..fc965b7 100644 --- a/commands/Moderation/warn.js +++ b/commands/Moderation/warn.js @@ -40,7 +40,7 @@ exports.run = async (bot, msg, args) => { } const { RichEmbed } = require('discord.js'); - bot.channels.find('name', 'logs').send( + bot.channels.find('id', logChannel).send( new RichEmbed() .setColor(0x00ae86) .setTitle(':warning: Warning') -- cgit v1.2.3