mirror of https://gitlab.com/litecord/litecord.git
Pull request #1: Fixed lazy channel reloading due to missing .bits. attribute
Merge in LIT/litecord from bugfix/channel-creation-reload to master * commit '8b1e3fb06e181281dfe7997ec7d1ed4f6e0764e1': Fixed lazy channel reloading due to missing .bits. attribute
This commit is contained in:
commit
3023404d42
|
|
@ -158,7 +158,7 @@ async def _subscribe_users_new_channel(guild_id: int, channel_id: int) -> None:
|
|||
continue
|
||||
|
||||
perms = await get_permissions(state.user_id, channel_id)
|
||||
if perms.read_messages:
|
||||
if perms.bits.read_messages:
|
||||
users_to_sub.append(state.user_id)
|
||||
|
||||
for session_id in app.dispatcher.guild.state[guild_id]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue