Update /debug
This commit is contained in:
parent
be8200ebf3
commit
fff80e0a65
@ -8,8 +8,8 @@ export default async function handle(command: Command) {
|
|||||||
else {
|
else {
|
||||||
let level = parseInt(command.args[0]);
|
let level = parseInt(command.args[0]);
|
||||||
if (!level) level = 0;
|
if (!level) level = 0;
|
||||||
if (level > 2 || level < 0) {
|
if (level > VerboseLevel.VERBH || level < 0) {
|
||||||
c.log("Invalid verbose level. Must be between 0 and 2.");
|
c.log("Invalid verbose level. Must be between 0 and 4.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user