From 2b5bdc4df470f869beea2ca701d1c81b8d51d3be Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 29 Jun 2021 17:04:54 +0300 Subject: [PATCH] allow anon and user to swap places --- structure/commands/Modmail.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/structure/commands/Modmail.js b/structure/commands/Modmail.js index 82d700a..920a449 100644 --- a/structure/commands/Modmail.js +++ b/structure/commands/Modmail.js @@ -23,6 +23,9 @@ class Modmail extends Command { anon = true; content = content.replace(first, ''); first = second; + } else if (second.toLowerCase() === 'anon') { + anon = true; + content = content.replace(second, ''); } const user = await this.client.resolveUser(first, true);