small fix server -> guild
This commit is contained in:
1 parent
a81cd34121
commit
ae77a1f860
1 file changed
+1
-1
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user