fix(pterodactyl): fixed broken placeholder replacement
This commit is contained in:
parent
e9523d5f70
commit
fb177ff8ad
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue