Skip to content

Commit

Permalink
Fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Aug 22, 2024
1 parent da5bad7 commit 8a003c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/statusbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def __init__(self, bot: StatusBot, guild_id: int) -> None:
self.bot: StatusBot
self.last_json: dict[str, Any] = {}
self.last_delay: int | float = 0
self.last_online: set[str] = set()
self.last_online: list[str] = []
self.last_online_count: int = 0
self.channel: discord.abc.Messageable

Expand Down Expand Up @@ -744,7 +744,7 @@ async def entry_actions(self) -> None:
self.exit_ex = None
self.failures_in_row = 0
self.machine.last_delay = math.inf
self.machine.last_online: list[str] = []
self.machine.last_online.clear()

async def handle_sample(self, players: list[str]) -> None:
"""Handle change in players by players sample."""
Expand Down

0 comments on commit 8a003c7

Please sign in to comment.