Discordbot emit on role update typo fix

This commit is contained in:
Jeremy Zhang 2017-09-05 07:37:04 +00:00
parent f5f3423e36
commit a99b0075bc

View File

@ -190,7 +190,7 @@ class Titan(discord.Client):
async def on_server_role_update(self, rolebefore, roleafter):
await self.wait_until_dbonline()
await self.database.update_guild(roleafter.server)
await self.socketio.on_guild_role_update(role)
await self.socketio.on_guild_role_update(roleafter)
async def on_channel_delete(self, channel):
await self.wait_until_dbonline()