From fabbde8f523b9c7634742a0e93baf83a4d61d03f Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 21 Jan 2026 03:31:57 +0900 Subject: [PATCH] fix build --- src/bot.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index 49e2988..e72a46e 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -270,7 +270,6 @@ pub fn c_bot(c: &Context) { let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); if text_limit.len() > 3 { - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; e = link.chars().count(); let str_rep = reply_link::post_request( @@ -305,7 +304,6 @@ pub fn c_bot(c: &Context) { let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); if text_limit.len() > 3 { - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; e = link.chars().count(); let str_rep = reply_link::post_request( @@ -369,7 +367,6 @@ pub fn c_bot(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); let ten_l = d.lines().collect::>().len(); println!("handlev {}", handlev); println!("ten_l {}", ten_l); @@ -411,7 +408,6 @@ pub fn c_bot(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; println!("{}", e); e = link.chars().count(); @@ -447,7 +443,6 @@ pub fn c_bot(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; println!("{}", e); e = link.chars().count(); @@ -483,7 +478,6 @@ pub fn c_bot(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; println!("{}", e); e = link.chars().count(); @@ -923,7 +917,6 @@ pub fn c_bot_feed(c: &Context) { let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); if text_limit.len() > 3 { - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; e = link.chars().count(); let str_rep = reply_link::post_request( @@ -958,7 +951,6 @@ pub fn c_bot_feed(c: &Context) { let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); if text_limit.len() > 3 { - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; e = link.chars().count(); let str_rep = reply_link::post_request( @@ -1022,7 +1014,6 @@ pub fn c_bot_feed(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); let ten_l = d.lines().collect::>().len(); println!("handlev {}", handlev); println!("ten_l {}", ten_l); @@ -1064,7 +1055,6 @@ pub fn c_bot_feed(c: &Context) { let d = String::from_utf8_lossy(&output.stdout); let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); - handlev = d.lines().collect::>()[0].to_string(); link = "https://syui.ai/@".to_owned() + handle; println!("{}", e); e = link.chars().count();