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, ''); }