From 95bf863f7eb19ea50257ad73b40ca934c574c63b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 1 Mar 2024 15:28:14 -0500 Subject: [PATCH] fix(pterodactyl): alphabetized a dict and the docs --- .docs/pterodactyl/setup.md | 2 +- pterodactyl/pterodactyl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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():