Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying authored Jul 30, 2020
1 parent 53ff591 commit c4b0ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def on_member_join(member):

elif str(member.guild.id) == settings["guilds"]["main"]:

bots = await db.bots.find({"owner": {"id": str(member.id)}})
bots = await db.bots.find_one({"owner": {"id": str(member.id)}})

for discord_bot in bots:
if discord_bot["status"]["approved"]:
Expand Down

0 comments on commit c4b0ce5

Please sign in to comment.