From 944dd959364226a822ae64299f303a22a3e24821 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 27 Oct 2021 10:28:03 +0300 Subject: [PATCH] bugfix --- structure/commands/Modmail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/commands/Modmail.js b/structure/commands/Modmail.js index 0ea8f9f..2caf450 100644 --- a/structure/commands/Modmail.js +++ b/structure/commands/Modmail.js @@ -23,7 +23,7 @@ class Modmail extends Command { anon = true; content = content.replace(first, ''); first = second; - } else if (second.toLowerCase() === 'anon') { + } else if (second?.toLowerCase() === 'anon') { anon = true; content = content.replace(second, ''); }