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/timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/Moderation/timeout.js') diff --git a/commands/Moderation/timeout.js b/commands/Moderation/timeout.js index cc0aa7d..5fabd5f 100644 --- a/commands/Moderation/timeout.js +++ b/commands/Moderation/timeout.js @@ -39,7 +39,7 @@ exports.run = async (bot, msg) => { .addField('Moderator', msg.author.tag) .setTimestamp() .setFooter(`${msg.author.tag} put ${member.user.tag} in time-out.`, msg.author.avatarURL); - msg.guild.channels.find('name', 'logs').send({ embed }); + msg.guild.channels.find('id', logChannel).send({ embed }); } catch (err) { console.error(err.stack); -- cgit v1.2.3