From 7b6da1aae585ae61b53a1177a2dc61bae83d6b0c Mon Sep 17 00:00:00 2001 From: flifloo Date: Sat, 10 Aug 2019 13:10:27 +0200 Subject: [PATCH] Clean print --- bot.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bot.py b/bot.py index 92fd4c3..47e62b2 100644 --- a/bot.py +++ b/bot.py @@ -29,16 +29,10 @@ async def on_guild_join(guild): @bot.event async def on_member_join(member): - print(1) with shelve.open("config.conf") as conf: - print(2) - print(conf[str(member.guild.id)]["default_role_id"]) if "default_role_id" in conf[str(member.guild.id)] and conf[str(member.guild.id)]["default_role_id"]: - print(3) role = member.guild.get_role(conf[str(member.guild.id)]["default_role_id"]) - print(4) await member.add_roles(role) - print(5) @bot.command()