diff --git a/src/app/task/tokens.rs b/src/app/task/tokens.rs index 581486f..66a7583 100644 --- a/src/app/task/tokens.rs +++ b/src/app/task/tokens.rs @@ -13,7 +13,7 @@ pub async fn start_task(state: Arc) { eprintln!("could not get user token: {:?}", e); } - tokio::time::sleep(Duration::minutes(15).to_std().unwrap()).await; + tokio::time::sleep(Duration::minutes(5).to_std().unwrap()).await; } }); } diff --git a/src/app/twitch.rs b/src/app/twitch.rs index 7df0b49..4bda1ec 100644 --- a/src/app/twitch.rs +++ b/src/app/twitch.rs @@ -201,7 +201,11 @@ async fn rename_a_split(state: Arc, redemption: &Redemption) { } }; let (old, new) = match input.split_once("=>") + .or_else(|| input.split_once("==>")) .or_else(|| input.split_once("->")) + .or_else(|| input.split_once("-->")) + .or_else(|| input.split_once(">")) + .or_else(|| input.split_once(">>")) { Some(x) => x, None => {