figured out how to add buttons

This commit is contained in:
2025-06-06 00:30:59 +02:00
parent 71da587242
commit 53a1fdee19
9 changed files with 36 additions and 12 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub fn to_shorturl(url: &str) -> Result<String, &str> {
pub async fn send_embed_for_post(ctx: Context<'_>, post: Value, url: &str) -> Result<(), Error> {
send_embed(ctx, make_post_embed(&post, url, true), true).await;
Ok(())
return Ok(());
}
pub async fn send_embed_for_removed(ctx: Context<'_>, url: &str, post: &Value) {