diff --git a/notashark/fetcher.py b/notashark/fetcher.py index afdf65f..2b267d8 100644 --- a/notashark/fetcher.py +++ b/notashark/fetcher.py @@ -207,7 +207,7 @@ def clean_server_info(self, info: dict) -> parts.KagServerInfo: game_mode += " (modded)" capacity = f"{len(info['playerList'])}/{info['maxPlayers']}" - if info["spectatorPlayers"]: + if info["spectatorPlayers"] > 0: #old mods may give negative values capacity += f" ({info['spectatorPlayers']} spectating)" link = f"" diff --git a/setup.py b/setup.py index 18b8606..077d9d6 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="notashark", - version="1.0.0", + version="1.0.1", description="notashark - discord bot for King Arthur's Gold", long_description=long_description, long_description_content_type="text/markdown",