mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Fix guild channels update not taking effect
This commit is contained in:
parent
5e0c0bf302
commit
15e030208b
@ -144,12 +144,12 @@ class Titan(discord.AutoShardedClient):
|
|||||||
await self.redisqueue.update_guild(roleafter.guild)
|
await self.redisqueue.update_guild(roleafter.guild)
|
||||||
await self.socketio.on_guild_role_update(roleafter)
|
await self.socketio.on_guild_role_update(roleafter)
|
||||||
|
|
||||||
async def on_channel_delete(self, channel):
|
async def on_guild_channel_delete(self, channel):
|
||||||
if channel.guild:
|
if channel.guild:
|
||||||
await self.redisqueue.update_guild(channel.guild)
|
await self.redisqueue.update_guild(channel.guild)
|
||||||
await self.socketio.on_channel_delete(channel)
|
await self.socketio.on_channel_delete(channel)
|
||||||
|
|
||||||
async def on_channel_create(self, channel):
|
async def on_guild_channel_create(self, channel):
|
||||||
if channel.guild:
|
if channel.guild:
|
||||||
await self.redisqueue.update_guild(channel.guild)
|
await self.redisqueue.update_guild(channel.guild)
|
||||||
await self.socketio.on_channel_create(channel)
|
await self.socketio.on_channel_create(channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user