From b71950715c64466bafde74b7ac4efb4f66b8b185 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 15 Jul 2021 00:20:14 -0300 Subject: [PATCH] fix typo --- litecord/common/guilds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/common/guilds.py b/litecord/common/guilds.py index 368ba07..a8a960a 100644 --- a/litecord/common/guilds.py +++ b/litecord/common/guilds.py @@ -332,7 +332,7 @@ async def add_member(guild_id: int, user_id: int, *, basic=False): # TODO how to remove repetition between this and websocket's subscribe_all? states, channels = await app.dispatcher.guild.sub_user(guild_id, user_id) - for channel_id in channel_ids: + for channel_id in channels: for state in states: await app.dispatcher.channel.sub(channel_id, state.session_id)