【发布时间】:2021-12-15 05:59:01
【问题描述】:
async def on_command_error(ctx, error):
if isinstance(error, BotMissingPermissions):
await ctx.send("I dont have the permission to do that")``
不起作用,我猜这是因为我实际上遇到了错误
discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
但我找不到除此之外的方法
我也在全局范围内而不是按命令进行操作
【问题讨论】:
标签: python exception discord discord.py