mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Discordbot emit on role update typo fix
This commit is contained in:
parent
f5f3423e36
commit
a99b0075bc
@ -190,7 +190,7 @@ class Titan(discord.Client):
|
|||||||
async def on_server_role_update(self, rolebefore, roleafter):
|
async def on_server_role_update(self, rolebefore, roleafter):
|
||||||
await self.wait_until_dbonline()
|
await self.wait_until_dbonline()
|
||||||
await self.database.update_guild(roleafter.server)
|
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):
|
async def on_channel_delete(self, channel):
|
||||||
await self.wait_until_dbonline()
|
await self.wait_until_dbonline()
|
||||||
|
Loading…
Reference in New Issue
Block a user