mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-06-04 06:41:18 +00:00
Debug failing admin commands
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user