Removed some unnecessary prints
parent
75ff784301
commit
3fedb29509
4
bot.py
4
bot.py
|
@ -42,12 +42,8 @@ async def on_ready():
|
||||||
print(f"Logged in as {bot.user}")
|
print(f"Logged in as {bot.user}")
|
||||||
for i in bot.guilds:
|
for i in bot.guilds:
|
||||||
if str(i.id) not in GuildAppDB.get_all_guilds():
|
if str(i.id) not in GuildAppDB.get_all_guilds():
|
||||||
print(f"{i.id} is not in guilds")
|
|
||||||
GuildAppDB.create_guild(str(i.id), i.name)
|
GuildAppDB.create_guild(str(i.id), i.name)
|
||||||
print(f"entry for {i.id} created")
|
print(f"entry for {i.id} created")
|
||||||
else:
|
|
||||||
print(f"{i.id} is in guilds")
|
|
||||||
print(GuildAppDB.get_all_guilds())
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_guild_join(guild):
|
async def on_guild_join(guild):
|
||||||
|
|
Loading…
Reference in New Issue