From f9b7fa6fd5bf71c6b1249155f5552f02d9bf1d11 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Thu, 13 Apr 2023 23:14:46 -0500 Subject: [PATCH] gosh darnit Caleb it's 'includes()' not 'contains()' --- main.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cjs b/main.cjs index 0cde274..4075c60 100644 --- a/main.cjs +++ b/main.cjs @@ -226,7 +226,7 @@ function checkIfExempt(message) { message.react('🌐'); message.react('🔗'); return true; - } else if (message.content.contains("```")) { + } else if (message.content.includes("```")) { return true; } if (!message.author.bot) {