From cab0da85b593f838aae9617ee4459514ad48baca Mon Sep 17 00:00:00 2001 From: Deauthorized <49701242+Deauthorized@users.noreply.github.com> Date: Fri, 1 Apr 2022 19:50:49 -0400 Subject: [PATCH] Okay this is how you do it please fucking kill me --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index c513a8e..c7acede 100644 --- a/index.js +++ b/index.js @@ -65,8 +65,7 @@ module.exports = function({ bot, knex, config, commands, threads }) { // Only allows regular messages to be reported for compatibility reasons - if (reportMsg.type !== (0 || 19)) { - console.log(reportMsg.type); + if (reportMsg.type !== 0 && reportMsg.type !== 19) { await i.createFollowup( { content: "**This type of message cannot be reported.**" } ); return; }