small change

This commit is contained in:
nora 2021-05-05 10:46:44 +02:00
parent 19e0ecc500
commit 1f35ded39a

View file

@ -44,6 +44,7 @@ async fn say(ctx: &Context, msg: &Message, args: Args) -> CommandResult {
}; };
let content = content_safe(&ctx.cache, &args.rest(), &settings).await; let content = content_safe(&ctx.cache, &args.rest(), &settings).await;
msg.delete(&ctx.http).await?;
msg.channel_id.say(&ctx.http, &content).await?; msg.channel_id.say(&ctx.http, &content).await?;
Ok(()) Ok(())
} }