fix 1
This commit is contained in:
parent
e99409c089
commit
d8489cf46a
@ -99,6 +99,8 @@ class WynncraftCog(commands.Cog):
|
||||
await self._log("Loop id %s" % guild_id)
|
||||
try:
|
||||
guild_name = await self.config.guild(guild).guild_name()
|
||||
if not guild_name:
|
||||
continue
|
||||
r = requests.get("https://api.wynncraft.com/public_api.php?action=guildStats&command=%s" % guild_name).json()
|
||||
for member in r["members"]:
|
||||
member_name = member["name"]
|
||||
|
Loading…
Reference in New Issue
Block a user