From 43464db6a7c51bc69282b1ae3dc507a4aae851de Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 26 Mar 2024 03:04:06 -0400 Subject: [PATCH] fix(pterodactyl): replace newlines with whitespace to prevent formatting errors --- pterodactyl/pterodactyl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 92fa773..601106a 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -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",