From 5bd57355b33fd293907f95e8eec40981567365c8 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Fri, 5 Feb 2021 18:17:58 +0100 Subject: [PATCH] satisfy linter --- handlers/commands/report.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/commands/report.js b/handlers/commands/report.js index 6183084..c0dd92e 100644 --- a/handlers/commands/report.js +++ b/handlers/commands/report.js @@ -22,7 +22,8 @@ const adminMention = ({ user }) => const reportHandler = async ctx => { if (!ctx.chat.type.endsWith('group')) return null; // Ignore monospaced reports - if (ctx.message.entities?.[0]?.type === "code" && ctx.message.entities[0].offset === 0) return null; + if (ctx.message.entities?.[0]?.type === 'code' && ctx.message.entities[0].offset === 0) + return null; if (!ctx.message.reply_to_message) { await ctx.deleteMessage(); return ctx.replyWithHTML(