fix(pterodactyl): replace newlines with whitespace to prevent formatting errors
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 40s

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

View file

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