From af3254e44e862303fb123d5658b2276926c7844f Mon Sep 17 00:00:00 2001 From: Magic <82341152+MagicTheDev@users.noreply.github.com> Date: Mon, 25 Mar 2024 00:42:01 -0500 Subject: [PATCH] initial --- bot/player/track.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bot/player/track.py b/bot/player/track.py index c7d53f9..7c391c8 100644 --- a/bot/player/track.py +++ b/bot/player/track.py @@ -238,7 +238,12 @@ def recursive_defaultdict(): only_once[parent] += 1 if type_ in online_types: - BEEN_ONLINE = True + #if we are comparing, say donations, we only want them to be online because donos went up.. not down because of season reset + if isinstance(value, int): + if value > old_value: + BEEN_ONLINE = True + else: + BEEN_ONLINE = True if type_ in ws_types: type_changes.append(type_)