Fix game checker

This commit is contained in:
2024-08-06 01:56:24 +02:00
parent 08abb5356e
commit 1ea2eaee16

View File

@@ -109,7 +109,7 @@ impl TwitchBot {
eventsub::NotificationType::StreamOffline(_) => {},
eventsub::NotificationType::ChannelUpdate(data) => {
if let Some(state) = current_state {
if state.game != data.title {
if state.game.to_lowercase().trim() != data.title.to_lowercase().trim() {
notify_game_change(
data.title.clone(),
state.game.clone(),