From 5f233246e95d1aabce001a9777ee0fbcb745b0ea Mon Sep 17 00:00:00 2001 From: murm Date: Wed, 15 Mar 2023 10:47:39 -0400 Subject: [PATCH] fix restart for realsies --- commands/general/restart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/restart.js b/commands/general/restart.js index 4ad39b0..efa424a 100644 --- a/commands/general/restart.js +++ b/commands/general/restart.js @@ -11,7 +11,7 @@ class RestartCommand extends Command { body: "mrmBot is restarting", msgtype: "m.text", }; - matrixClient.sendEvent(this.channel, "m.room.message", content, "", (err, res) => { + this.client.sendEvent(this.channel, "m.room.message", content, "", (err, res) => { console.log(err); }); process.exit(1);