feat(bot): add regex message editing (#587)

This commit is contained in:
Alex 2023-09-09 22:58:54 -07:00 committed by GitHub
parent 95b027d432
commit c8f2a137a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 93 additions and 5 deletions

View file

@ -75,8 +75,11 @@ You cannot look up private members or groups of another system.
|pk;system frontpercent|-flat||Show "flat" frontpercent - percentages add up to 100%|
|pk;group \<group> frontpercent|-fronters-only|-fo|Show a group's frontpercent without the "no fronter" entry|
|pk;group \<group> frontpercent|-flat||Show "flat" frontpercent - percentages add up to 100%|
|pk;edit|-append||Append the new content to the old message instead of overwriting it|
|pk;edit|-prepend||Prepend the new content to the old message instead of overwriting it|
|pk;edit|-append|-a|Append the new content to the old message instead of overwriting it|
|pk;edit|-prepend|-p|Prepend the new content to the old message instead of overwriting it|
|pk;edit|-nospace|-ns|Append/prepend without adding a space|
|pk;edit|-clear-embed|-ce|Remove embeds from a message|
|pk;edit|-regex|-x|Edit using a C# Regex formatted like s|X|Y or s|X|Y|F, where | is any character, X is a Regex, Y is a substitution string, and F is a set of Regex flags|
|Most commands|-all|-a|Show hidden/private information|
|Most commands|-raw|-r|Show text with formatting, for easier copy-pasting|
|All commands|-private|-priv|Show private information|