async def report(ctx, member: discord.Member, *, report=None):
report_channel = await ctx.guild.create_text_channel("reports")
await report_channel.set_permissions(has_permissions(administrator=True), view_channel=True, add_reactions=True)
# I tried to fix it every time but it never works i just want to make that specific report channel to be only visible for admins :(
我一直收到以下错误:命令引发异常:invalidargument:目标参数必须是成员或角色
暂无答案!
目前还没有任何答案,快来回答吧!