Discord py how to make administrators command?

后端 未结 0 691
失恋的感觉
失恋的感觉 2020-12-25 10:03

How do I create commands that are only available to administrators in discord py?

async def 청소(ctx, amout:int):
    await ctx.channel.purge(limit=amout)
    p         


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