feat(bot): basic webhook username templating

This commit is contained in:
libglfw 2024-10-22 03:05:32 -04:00 committed by Iris System
parent 87196e3297
commit 614131265b
16 changed files with 78 additions and 14 deletions

View file

@ -149,6 +149,7 @@ You can have a space after `pk;`, e.g. `pk;system` and `pk; system` will do the
- `pk;config capitalize IDs [on|off]` - Toggles whether to display IDs as capital letters, to ease readability.
- `pk;config pad IDs [left|right|off]` - Toggles whether to pad (add a space) 5-character IDs in lists.
- `pk;config proxy switch [on|off]` - Toggles whether to log a switch whenever you proxy as a different member.
- `pk;config name format [format]` - Changes your system's username formatting.
## Server owner commands
*(all commands here require Manage Server permission)*

View file

@ -387,6 +387,14 @@ Now, oth of the following will work without needing to add multiple versions of
John: Hello!
JOHN: Hello!
### Setting a custom name format
The default proxy username formatting is "{name} {tag}", but you can customize this value in config:
pk;config nameformat {tag} {name}
pk;config nameformat {name}@{tag}
## Interacting with proxied messages
### Your own messages