【发布时间】:2021-04-03 06:56:55
【问题描述】:
如何在 discord py 中创建仅供管理员使用的命令?
async def 청소(ctx, amout:int):
await ctx.channel.purge(limit=amout)
print('한 유저가 청소를 했습니다.')
【问题讨论】:
-
这能回答你的问题吗? Discord bot check if user is admin
标签: discord discord.py