I want to disable all defaults commands that comes with Commando. Im trying to use this code but I keep getting this same error every time.
I've already tried other formats of this same code, none of them worked.
bot.registry.registerDefaultCommands({
help: false,
prefix: false,
ping: false,
_eval: false,
unknownCommand: true,
commandState: true
})
throw new Error(`A command with the name/alias "${command.name}" is already registered.`);
^
Error: A command with the name/alias "eval" is already registered.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…