online presence
This commit is contained in:
parent
523c739960
commit
ab5afd7d23
@ -140,7 +140,7 @@ class WynncraftCog(commands.Cog):
|
|||||||
# await self._log("cl: %s, max_combat_lvl_class: %s" % (cl, max_combat_lvl_class))
|
# await self._log("cl: %s, max_combat_lvl_class: %s" % (cl, max_combat_lvl_class))
|
||||||
max_combat_lvl_class = cl
|
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)
|
await self._log("%s is online" % member_name)
|
||||||
online_players.append(r)
|
online_players.append(r)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user