From 1c2e215214e63bbbfb93ad057466e88393a0ec6c Mon Sep 17 00:00:00 2001 From: kuuuube Date: Tue, 14 Apr 2026 20:12:58 -0400 Subject: [PATCH] Fix edit-embed command breaking the description if newlines are present --- src/commands/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/utils.rs b/src/commands/utils.rs index 6907530..1ca2dba 100644 --- a/src/commands/utils.rs +++ b/src/commands/utils.rs @@ -168,7 +168,7 @@ pub async fn edit_embed( if let Some(description) = description { if description != "_" { - embedb = embedb.description(description); + embedb = embedb.description(description.replace(r"\n", "\n")); } } else if let Some(d) = &embed.description { embedb = embedb.description(d);