From c0c759c31e685c5c3e2de13688b8f66acf232bea Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 30 Apr 2020 23:42:35 -0300 Subject: [PATCH] Fix missing argument change on dispatch() Closes #102 --- litecord/blueprints/channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/channels.py b/litecord/blueprints/channels.py index d1f93db..2e0f9f8 100644 --- a/litecord/blueprints/channels.py +++ b/litecord/blueprints/channels.py @@ -315,7 +315,7 @@ async def _mass_chan_update(guild_id, channel_ids: List[Optional[int]]): continue chan = await app.storage.get_channel(channel_id) - await app.dispatcher.guild.dispatch(guild_id, "CHANNEL_UPDATE", chan) + await app.dispatcher.guild.dispatch(guild_id, ("CHANNEL_UPDATE", chan)) @dataclass