From e7228d1487935264a7c50746eb90964e78ee50aa Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 6 Nov 2020 13:19:10 -0500 Subject: [PATCH] Show info on NSFW commands --- commands/util-public/help.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/util-public/help.js b/commands/util-public/help.js index 24356d92..3a15cb82 100644 --- a/commands/util-public/help.js +++ b/commands/util-public/help.js @@ -28,7 +28,10 @@ module.exports = class HelpCommand extends Command { const embeds = []; for (let i = 0; i < Math.ceil(this.client.registry.groups.size / 10); i++) { const embed = new MessageEmbed() - .setTitle(`Command List (${i + 1})`) + .setTitle(`Command List (Page ${i + 1})`) + .setDescription( + msg.channel.nsfw ? 'Showing NSFW Commands.' : 'Use in an NSFW channel to see NSFW commands.' + ) .setColor(0x00AE86); embeds.push(embed); }