This commit is contained in:
ModulatingForce 2023-12-19 19:30:08 -05:00
commit 142b620720
2 changed files with 4 additions and 2 deletions

View file

@ -56,7 +56,7 @@ pub async fn main() {
for chnl in &botchannels {
client.join(chnl.to_owned()).unwrap();
// client.say(chnl.to_owned(), "Connected!".to_owned()).await.unwrap();
client.say(chnl.to_owned(), "annytfLurk".to_owned()).await.unwrap();
//client.say(chnl.to_owned(), "annytfLurk".to_owned()).await.unwrap();
}
// Adding rate limit functionality to be under : https://dev.twitch.tv/docs/irc/#rate-limits
@ -92,7 +92,8 @@ pub async fn main() {
match contextratelimiter.check_limiter() {
ratelimiter::LimiterResp::Allow => {
let maxblanks = rand::thread_rng().gen_range(1..=5);
let mut outmsg = "GotTrolled ".to_owned();
//let mut outmsg = "GotTrolled ".to_owned();
let mut outmsg = "annytfLurk ".to_owned();
for _i in 1..maxblanks {
let blankspace: &str = "󠀀";