i decided i wanted to compress the embed JSON... and fix some bugs :3

This commit is contained in:
2025-06-10 23:02:46 +02:00
parent 20d906c3ba
commit e4bb754ef0
9 changed files with 55 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ pub async fn cmd(
#[description = "The reason of the removal."] reason: Option<String>
) -> Result<(), Error>
{
if is_bk_mod_msg(ctx).await { return Ok(()); }
if !is_bk_mod_msg(ctx).await { return Ok(()); }
let auth = &ctx.author().name;
let r = send_cmd_json("remove_post_url", Some(json!([&url, &auth, &reason])), true).await.unwrap();