diff --git a/src/matrixmessageprocessor.ts b/src/matrixmessageprocessor.ts
index 27dee33618da60db6507c1c0897888b2b22694a7..a0a4c550d4d051d936568afb81603e2986385ec3 100644
--- a/src/matrixmessageprocessor.ts
+++ b/src/matrixmessageprocessor.ts
@@ -66,7 +66,8 @@ export class MatrixMessageProcessor {
 
         if (msg.includes("@room") && this.params && this.params.mxClient && this.params.roomId && this.params.userId) {
             // let's check for more complex logic if @room should be replaced
-            const res: IMatrixEvent = await this.params.mxClient.getStateEvent(this.params.roomId, "m.room.power_levels");
+            const res: IMatrixEvent = await this.params.mxClient.getStateEvent(
+                this.params.roomId, "m.room.power_levels");
             if (
                 res && res.users
                 && res.users[this.params.userId] !== undefined
diff --git a/test/test_matrixmessageprocessor.ts b/test/test_matrixmessageprocessor.ts
index 90587095f58d03ed1b58e0c4b44149524865f0e4..611496fd6a9fe833e0aefb17354fff207b4be1df 100644
--- a/test/test_matrixmessageprocessor.ts
+++ b/test/test_matrixmessageprocessor.ts
@@ -27,7 +27,7 @@ const mxClient = {
             };
         }
         return null;
-    }
+    },
 };
 
 const bot = {
@@ -210,28 +210,28 @@ code
             expect(result).is.equal("test reply");
         });
         it("parses links", async () => {
-            const mp = new MatrixMessageProcessor(bot, opts);
+            const mp = new MatrixMessageProcessor(bot);
             const guild = new MockGuild("1234");
             const msg = getHtmlMessage("<a href=\"http://example.com\">link</a>");
             const result = await mp.FormatMessage(msg, guild as any);
             expect(result).is.equal("[link](http://example.com)");
         });
         it("parses links with same content", async () => {
-            const mp = new MatrixMessageProcessor(bot, opts);
+            const mp = new MatrixMessageProcessor(bot);
             const guild = new MockGuild("1234");
             const msg = getHtmlMessage("<a href=\"http://example.com\">http://example.com</a>");
             const result = await mp.FormatMessage(msg, guild as any);
             expect(result).is.equal("http://example.com");
         });
         it("doesn't discord-escape links", async () => {
-            const mp = new MatrixMessageProcessor(bot, opts);
+            const mp = new MatrixMessageProcessor(bot);
             const guild = new MockGuild("1234");
             const msg = getHtmlMessage("<a href=\"http://example.com/_blah_/\">link</a>");
             const result = await mp.FormatMessage(msg, guild as any);
             expect(result).is.equal("[link](http://example.com/_blah_/)");
         });
         it("doesn't discord-escape links with same content", async () => {
-            const mp = new MatrixMessageProcessor(bot, opts);
+            const mp = new MatrixMessageProcessor(bot);
             const guild = new MockGuild("1234");
             const msg = getHtmlMessage("<a href=\"http://example.com/_blah_/\">http://example.com/_blah_/</a>");
             const result = await mp.FormatMessage(msg, guild as any);