fix(pterodactyl): fixed broken placeholder replacement

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

View file

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