small fix server -> guild

This commit is contained in:
Matthias Nadler 2019-04-12 22:20:27 +02:00
parent a81cd34121
commit ae77a1f860

View File

@ -118,7 +118,7 @@ async def on_command_error(ctx, e):
raise e
@bot.event
async def on_server_join(server):
async def on_guild_join(server):
result = await bot.db.config.find_one({'_id': str(server.id)})
if result is None:
await bot.db.config.update_one(