This commit is contained in:
2024-08-06 02:01:18 +02:00
parent 1ea2eaee16
commit fb92cfe581

View File

@@ -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(),