Show info on NSFW commands

This commit is contained in:
Dragon Fire
2020-11-06 13:19:10 -05:00
parent c79200fe93
commit e7228d1487
+4 -1
View File
@@ -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);
}