fix(pterodactyl): fixed broken placeholder replacement
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 19s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s

This commit is contained in:
Seaswimmer 2024-03-01 22:25:21 -05:00
parent e9523d5f70
commit fb177ff8ad
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -92,7 +92,7 @@ class Pterodactyl(commands.Cog):
"U": message.author.name, "U": message.author.name,
} }
for key, value in placeholders.items(): for key, value in placeholders.items():
command = command.replace('$.' + key, value) command = command.replace('.$' + key, value)
return command return command
@commands.Cog.listener() @commands.Cog.listener()