Merge branch 'master' of https://github.com/GalacticBot/modmail
This commit is contained in:
commit
3667b126e1
@ -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.
|
The bot has an `!eval` command which you can grant access to in the config file.
|
||||||
|
|
||||||
**Creating canned/pre-written replies**
|
**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>`
|
To delete one, use `!cr delete <name>`
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
`!markunread` - Marks a thread unread
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user