From 35370fab72db5f9102c84ad8271e9db3e1f164d4 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 9 Nov 2019 13:37:09 +0100 Subject: [PATCH] Send help command in current channel if the bot can't dm --- commands/utility/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/help.js b/commands/utility/help.js index 05bcae9..80eeab3 100644 --- a/commands/utility/help.js +++ b/commands/utility/help.js @@ -94,7 +94,7 @@ class HelpCommand extends Command { await message.author.send({ embed }); if (shouldReply) return message.util.reply('I\'ve sent you a DM with the command list.'); } catch (err) { - if (shouldReply) return message.util.reply('I could not send you the command list in DMs.'); + if (shouldReply) return message.util.send({ embed }); } return undefined;