feat(pterodactyl): added more placeholders and updated documentation to match
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s

This commit is contained in:
SeaswimmerTheFsh 2024-03-01 15:27:13 -05:00
parent 4979e44b7c
commit dab56bed94
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
3 changed files with 16 additions and 10 deletions

View file

@ -129,11 +129,14 @@ The cog uses a tellraw command to send messages to Minecraft from Discord. To ch
Available placeholders:
- `.$U` - replaced with display name
- `.$M` - replaced with message contents
- `.$C` - replaced with top role color (hex)
- `.$C` - replaced with hex color of user's top colored role
- `.$D` - replaced with user's discriminator (will usually be 0, you shouldn't use this)
- `.$M` - replaced with message content
- `.$N` - replaced with author's display name (or guild nickname, if set)
- `.$I` - replaced with the author's ID
- `.$U` - replaced with the author's username (NOT display name, you should usually use `.$N`)
Default:
```json
tellraw @a ["",{"text":".$U ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}]
tellraw @a ["",{"text":".$D ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}]
```