This commit is contained in:
Erik 2021-07-09 15:30:33 +03:00
commit 3667b126e1
2 changed files with 7 additions and 1 deletions

View File

@ -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 <name> <the reply content here>`.
Simple as using `!cr create <name> <the reply content here>`. Updating an existing entry is done by overwriting it.
To delete one, use `!cr delete <name>`
## TODO
`!markunread` - Marks a thread unread

View File

@ -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);