Debug failing admin commands

This commit is contained in:
MTRNord
2023-10-20 15:16:36 +02:00
parent 55bd72d6bf
commit 246aa14554
@@ -78,7 +78,7 @@ export class AppserviceCommandHandler {
const prefixUsed = prefixes.find(p => body.toLowerCase().startsWith(p.toLowerCase()));
if (!prefixUsed) return;
console.log("Got admin command");
console.log("Got admin command:", prefixUsed);
let restOfBody = body.substring(prefixUsed.length);
const readItems = readCommand(restOfBody)
const argumentStream = new ArgumentStream(readItems);