fix card url
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-01-21 03:04:12 +09:00
parent e780283e5b
commit 06c2374d5d

View File

@@ -57,7 +57,7 @@ pub fn c_bot(c: &Context) {
let mut handlev = handlev[0].trim().to_string();
let mut ten_p = "false";
let mut link = "https://card.syui.ai/".to_owned() + &handlev;
let mut link = "https://syui.ai/@".to_owned() + handle;
let s = 0;
let mut e = link.chars().count();
@@ -229,7 +229,7 @@ pub fn c_bot(c: &Context) {
handlev = handle.split('.').next().unwrap_or("").to_string();
}
if !handlev.is_empty() {
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -271,7 +271,7 @@ pub fn c_bot(c: &Context) {
let text_limit = c_char(dd);
if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -306,7 +306,7 @@ pub fn c_bot(c: &Context) {
let text_limit = c_char(dd);
if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -378,7 +378,7 @@ pub fn c_bot(c: &Context) {
println!("ten_p {}", ten_p);
}
if ten_p != "true" {
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -412,7 +412,7 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e);
e = link.chars().count();
if text_limit.len() > 3 {
@@ -448,7 +448,7 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e);
e = link.chars().count();
if text_limit.len() > 3 {
@@ -484,7 +484,7 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e);
e = link.chars().count();
if text_limit.len() > 3 {
@@ -719,7 +719,7 @@ pub fn c_bot_feed(c: &Context) {
let mut handlev = handlev[0].trim().to_string();
let mut ten_p = "false";
let mut link = "https://card.syui.ai/".to_owned() + &handlev;
let mut link = "https://syui.ai/@".to_owned() + handle;
let s = 0;
let mut e = link.chars().count();
@@ -882,7 +882,7 @@ pub fn c_bot_feed(c: &Context) {
handlev = handle.split('.').next().unwrap_or("").to_string();
}
if !handlev.is_empty() {
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -924,7 +924,7 @@ pub fn c_bot_feed(c: &Context) {
let text_limit = c_char(dd);
if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -959,7 +959,7 @@ pub fn c_bot_feed(c: &Context) {
let text_limit = c_char(dd);
if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -1031,7 +1031,7 @@ pub fn c_bot_feed(c: &Context) {
println!("ten_p {}", ten_p);
}
if ten_p != "true" {
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count();
let str_rep = reply_link::post_request(
text_limit.to_string(),
@@ -1065,7 +1065,7 @@ pub fn c_bot_feed(c: &Context) {
let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev;
link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e);
e = link.chars().count();
if text_limit.len() > 3 {