forked from Supositware/Haha-Yes
Send help command in current channel if the bot can't dm
This commit is contained in:
parent
5cbf213322
commit
35370fab72
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue