allow anon and user to swap places

This commit is contained in:
Erik 2021-06-29 17:04:54 +03:00
parent d3f9b4ddf9
commit 2b5bdc4df4

View File

@ -23,6 +23,9 @@ class Modmail extends Command {
anon = true; anon = true;
content = content.replace(first, ''); content = content.replace(first, '');
first = second; first = second;
} else if (second.toLowerCase() === 'anon') {
anon = true;
content = content.replace(second, '');
} }
const user = await this.client.resolveUser(first, true); const user = await this.client.resolveUser(first, true);