allow newlines in /say

This commit is contained in:
maskers 2025-06-09 18:33:37 +03:00
parent 11fcf0ec6e
commit 4645f1ddaf

View file

@ -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?;