This commit is contained in:
Dragon Fire
2020-11-07 09:32:44 -05:00
parent 50c3c40783
commit 0bddb65c99
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = class HelpCommand extends Command {
if (!command) {
const embeds = [];
for (let i = 0; i < Math.ceil(this.client.registry.groups.size / 10); i++) {
const nsfw = msg.channel.nsfw && !this.client.isOwner(msg.author);
const nsfw = msg.channel.nsfw || this.client.isOwner(msg.author);
const embed = new MessageEmbed()
.setTitle(`Command List (Page ${i + 1})`)
.setDescription(nsfw ? '' : 'Use in an NSFW channel to see NSFW commands.')