Update /debug
This commit is contained in:
parent
be8200ebf3
commit
fff80e0a65
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user