diff --git a/nomen/utils.py b/nomen/utils.py index 65c9a8d..1782d56 100644 --- a/nomen/utils.py +++ b/nomen/utils.py @@ -124,7 +124,7 @@ async def in_thread(member, thread): async def can_view(ctx, member) -> bool: - if ctx.channel.type == ChannelType.private_thread and not in_thread(member, ctx.channel): + if ctx.channel.type == ChannelType.private_thread and not await in_thread(member, ctx.channel): return False return ctx.channel.permissions_for(member).view_channel