fix(pterodactyl): alphabetized a dict and the docs

This commit is contained in:
Seaswimmer 2024-03-01 15:28:14 -05:00
parent dab56bed94
commit 95bf863f7e
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 2 additions and 2 deletions

View file

@ -131,9 +131,9 @@ Available placeholders:
- `.$C` - replaced with hex color of user's top colored role - `.$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) - `.$D` - replaced with user's discriminator (will usually be 0, you shouldn't use this)
- `.$I` - replaced with the author's ID
- `.$M` - replaced with message content - `.$M` - replaced with message content
- `.$N` - replaced with author's display name (or guild nickname, if set) - `.$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`) - `.$U` - replaced with the author's username (NOT display name, you should usually use `.$N`)
Default: Default:

View file

@ -86,9 +86,9 @@ class Pterodactyl(commands.Cog):
placeholders = { placeholders = {
"C": str(message.author.color), "C": str(message.author.color),
"D": message.author.discriminator, "D": message.author.discriminator,
"I": str(message.author.id),
"M": message.content, "M": message.content,
"N": message.author.display_name, "N": message.author.display_name,
"I": str(message.author.id),
"U": message.author.name, "U": message.author.name,
} }
for key, value in placeholders.items(): for key, value in placeholders.items():