From fb92cfe581db94a5ded79df0bb0a42d2359e2d97 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Tue, 6 Aug 2024 02:01:18 +0200 Subject: [PATCH] Fix --- src/twitch_handler/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twitch_handler/mod.rs b/src/twitch_handler/mod.rs index 34aca1b..ab7c008 100644 --- a/src/twitch_handler/mod.rs +++ b/src/twitch_handler/mod.rs @@ -109,7 +109,7 @@ impl TwitchBot { eventsub::NotificationType::StreamOffline(_) => {}, eventsub::NotificationType::ChannelUpdate(data) => { if let Some(state) = current_state { - if state.game.to_lowercase().trim() != data.title.to_lowercase().trim() { + if state.game.to_lowercase().trim() != data.category_name.to_lowercase().trim() { notify_game_change( data.title.clone(), state.game.clone(),