diff --git a/objects/osuToken.py b/objects/osuToken.py index cf9baf3..40f0fd6 100644 --- a/objects/osuToken.py +++ b/objects/osuToken.py @@ -243,12 +243,12 @@ class token: chat.partChannel(token=hostToken, channel="#spect_{}".format(hostToken.userID), kick=True) hostToken.leaveStream(streamName) + # Console output + log.info("{} is no longer spectating {}. Current spectators: {}".format(self.username, self.spectatingUserID, hostToken.spectators)) + # Part #spectator channel chat.partChannel(token=self, channel="#spect_{}".format(self.spectatingUserID), kick=True) - # Console output - log.info("{} is no longer spectating {}. Current spectators: {}".format(self.username, self.spectatingUserID, hostToken.spectators)) - # Set our spectating user to 0 self.spectating = None self.spectatingUserID = 0