online presence

This commit is contained in:
Amazed 2020-09-01 01:31:20 +02:00
parent 523c739960
commit ab5afd7d23

View File

@ -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: