From 4645f1ddaf64bbe4beb9ff1e03f9fe4713750185 Mon Sep 17 00:00:00 2001 From: maskers <97827489+mskrss@users.noreply.github.com> Date: Mon, 9 Jun 2025 18:33:37 +0300 Subject: [PATCH] allow newlines in `/say` --- src/commands/general/say.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/general/say.rs b/src/commands/general/say.rs index a48db86..eeb1a4a 100644 --- a/src/commands/general/say.rs +++ b/src/commands/general/say.rs @@ -16,6 +16,7 @@ pub async fn say( #[description = "the message content"] content: String, ) -> Result<(), Error> { let channel = ctx.channel_id(); + let content = content.replace("\\n", "\n"); let message = channel.say(ctx, &content).await?; ctx.say("I said what you said!").await?;