From 4920425ad02cc861a7fc245e3392ba1f94738ff2 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 5 Dec 2019 21:49:24 +0200 Subject: [PATCH] Mention logChannelId option in log channel errors --- src/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.js b/src/utils.js index 0275337..fbea327 100644 --- a/src/utils.js +++ b/src/utils.js @@ -50,11 +50,11 @@ function getLogChannel() { const logChannel = inboxGuild.channels.get(config.logChannelId); if (! logChannel) { - throw new BotError('Log channel not found!'); + throw new BotError('Log channel (logChannelId) not found!'); } if (! (logChannel instanceof Eris.TextChannel)) { - throw new BotError('Make sure log channel is set to a text channel!'); + throw new BotError('Make sure the logChannelId option is set to a text channel!'); } return logChannel;