This commit is contained in:
Travis Ralston 2023-04-03 14:11:19 -06:00
parent b48904bc2b
commit 7d700634e1

View File

@ -236,7 +236,9 @@ export class Mjolnir {
event['content']['body'] = COMMAND_PREFIX + restOfBody; event['content']['body'] = COMMAND_PREFIX + restOfBody;
LogService.info("Mjolnir", `Command being run by ${event['sender']}: ${event['content']['body']}`); LogService.info("Mjolnir", `Command being run by ${event['sender']}: ${event['content']['body']}`);
await client.sendReadReceipt(roomId, event['event_id']); client.sendReadReceipt(roomId, event['event_id']).catch((e: any) => {
LogService.warn("Mjolnir", "Error sending read receipt:", e);
});
return handleCommand(roomId, event, this); return handleCommand(roomId, event, this);
} }
}); });