less logs
This commit is contained in:
parent
c82f6668aa
commit
a6a6051bfe
@ -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"]))
|
await ping_channel.send(":high_brightness: %s a level up au niveau %s! GG!" % (member_name, cl["professions"]["combat"]["level"]))
|
||||||
else:
|
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"]))
|
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
|
last_status[guild_id][member_name][cl["name"]] = cl
|
||||||
|
|
||||||
# get max_combat_lvl_class
|
# get max_combat_lvl_class
|
||||||
@ -159,8 +157,6 @@ class WynncraftCog(commands.Cog):
|
|||||||
await self._log("remove roles: %s" % roles_to_remove)
|
await self._log("remove roles: %s" % roles_to_remove)
|
||||||
else:
|
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("max_combat_lvl_class: %s, discord_member: %s (name: %s)" % (max_combat_lvl_class, discord_member, member_name))
|
||||||
await self._log(guild.members)
|
|
||||||
|
|
||||||
except:
|
except:
|
||||||
if await self.config.log():
|
if await self.config.log():
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
Reference in New Issue
Block a user