File “main.py”, line 30, in ban await member.ban(reason=arg) AttributeError: 'Context' object has no attribute 'ban'

前端 未结 0 1044
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 20:36

This line of code have problem.

@bot.command()
@commands.has_permissions(ban_members=True)
async def ban(member: discord.Member, arg):
     await member.ban(reaso         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题