Add Pterodactyl cog #19

Merged
cswimr merged 139 commits from pterodactyl into main 2024-03-02 00:07:42 -05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 95bf863f7e - Show all commits

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():