diff --git a/.docs/pterodactyl/setup.md b/.docs/pterodactyl/setup.md index 19015dd..51c0b8b 100644 --- a/.docs/pterodactyl/setup.md +++ b/.docs/pterodactyl/setup.md @@ -131,9 +131,9 @@ Available placeholders: - `.$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) +- `.$I` - replaced with the author's ID - `.$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: diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index bb8f1d5..3dd53b4 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -86,9 +86,9 @@ class Pterodactyl(commands.Cog): placeholders = { "C": str(message.author.color), "D": message.author.discriminator, + "I": str(message.author.id), "M": message.content, "N": message.author.display_name, - "I": str(message.author.id), "U": message.author.name, } for key, value in placeholders.items():