less logs

This commit is contained in:
Amazed 2020-09-01 00:29:14 +02:00
parent c82f6668aa
commit a6a6051bfe

View File

@ -130,8 +130,6 @@ class WynncraftCog(commands.Cog):
await ping_channel.send(":high_brightness: %s a level up au niveau %s! GG!" % (member_name, cl["professions"]["combat"]["level"]))
else:
await self._log("Player %s had last level %s and current %s" % (member_name, last_status[guild_id][member_name][cl["name"]]["professions"]["combat"]["level"], cl["professions"]["combat"]["level"]))
else:
await self._log("Not checking for level up")
last_status[guild_id][member_name][cl["name"]] = cl
# get max_combat_lvl_class
@ -159,8 +157,6 @@ class WynncraftCog(commands.Cog):
await self._log("remove roles: %s" % roles_to_remove)
else:
await self._log("max_combat_lvl_class: %s, discord_member: %s (name: %s)" % (max_combat_lvl_class, discord_member, member_name))
await self._log(guild.members)
except:
if await self.config.log():
traceback.print_exc()