diff --git a/src/frames/pomodoro_frame.py b/src/frames/pomodoro_frame.py index 884cd18..3416c01 100644 --- a/src/frames/pomodoro_frame.py +++ b/src/frames/pomodoro_frame.py @@ -116,6 +116,9 @@ def update_rpc(self): self.rpc.paused_state(self.start_time_timestamp) else: self.rpc.idling_state() + else: + if self.discord_button.cget("state") == 'normal': + self.discord_button.configure(text=DISCONNECTED_TEXT, text_color=DISCONNECTED_COLOR) # Discord-imposed rate limit time.sleep(15)