From ab5afd7d23423d35a37ec9a4fa1cc26323864d4a Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Tue, 1 Sep 2020 01:31:20 +0200 Subject: [PATCH] online presence --- cogs/wynncraft/wynncraftcog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/wynncraft/wynncraftcog.py b/cogs/wynncraft/wynncraftcog.py index cd69648..0e377a9 100644 --- a/cogs/wynncraft/wynncraftcog.py +++ b/cogs/wynncraft/wynncraftcog.py @@ -140,7 +140,7 @@ class WynncraftCog(commands.Cog): # await self._log("cl: %s, max_combat_lvl_class: %s" % (cl, max_combat_lvl_class)) max_combat_lvl_class = cl - if r["data"][0]["meta"]["location"]["online"] == "true": + if r["data"][0]["meta"]["location"]["online"]: await self._log("%s is online" % member_name) online_players.append(r) else: