Fix channel update not responding

This commit is contained in:
Jeremy Zhang
2018-03-22 23:07:52 +00:00
parent 034e14bd2e
commit 00d9a9a356
2 changed files with 3 additions and 2 deletions

View File

@ -162,7 +162,7 @@ class Titan(discord.AutoShardedClient):
await self.database.update_guild(channel.guild)
await self.socketio.on_channel_create(channel)
async def on_channel_update(self, channelbefore, channelafter):
async def on_guild_channel_update(self, channelbefore, channelafter):
await self.database.update_guild(channelafter.guild)
await self.socketio.on_channel_update(channelafter)