Closed scottricity closed 5 years ago
So I've tried using the hidden property, and the command is still shown in the help command/ command list.
hidden
let request = require('node-fetch'); module.exports = class Hentai extends Commando.Command { constructor(client){ super(client, { name: 'hentai', memberName: 'hentai', group: 'nsfw', ownerOnly: true, description: 'yes', nsfw: true, hidden: true }) } async run(msg){ let hentai = await request.default('https://nekos.life/api/v2/img/hentai') hentai.json().then(body => { msg.channel.send({file: body.url}) }) } }
If you're the owner, the command isn't hidden.
Even for others, it won't work
The hidden property is only on the master branch. You are likely using the NPM release.
So I've tried using the
hidden
property, and the command is still shown in the help command/ command list.