diff --git a/README.md b/README.md index b07fad8..78f409e 100644 --- a/README.md +++ b/README.md @@ -33,5 +33,8 @@ Both of these can be used with `!r` and `!cr` respectively and both of them supp The bot has an `!eval` command which you can grant access to in the config file. **Creating canned/pre-written replies** -Simple as using `!cr create `. +Simple as using `!cr create `. Updating an existing entry is done by overwriting it. To delete one, use `!cr delete ` + +## TODO +`!markunread` - Marks a thread unread 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);