fix(pterodactyl): replace newlines with whitespace to prevent formatting errors

This commit is contained in:
Seaswimmer 2024-03-26 03:04:06 -04:00
parent 50d1d7900b
commit 43464db6a7
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -132,7 +132,7 @@ class Pterodactyl(commands.Cog):
"C": str(message.author.color),
"D": message.author.discriminator,
"I": str(message.author.id),
"M": message.content.replace('"',''),
"M": message.content.replace('"','').replace("\n", " "),
"N": message.author.display_name,
"U": message.author.name,
"V": await config.invite() or "use [p]pterodactyl config invite to change me",