diff --git a/src/commands/debug.ts b/src/commands/debug.ts index 37e5163..34e6803 100644 --- a/src/commands/debug.ts +++ b/src/commands/debug.ts @@ -8,8 +8,8 @@ export default async function handle(command: Command) { else { let level = parseInt(command.args[0]); if (!level) level = 0; - if (level > 2 || level < 0) { - c.log("Invalid verbose level. Must be between 0 and 2."); + if (level > VerboseLevel.VERBH || level < 0) { + c.log("Invalid verbose level. Must be between 0 and 4."); return; }