def _error(self, ctx, error):
if isinstance(error, NoSelfArgument):
message = random.choice((
"Don't play with yourself. x3",
"You should mention someone else over there. o.o",
"Self inviting, huh... :eyes:",
))
await ctx.send(message)
elif issubclass(type(error), commands.BadArgument) and not type(error) is commands.BadArgument:
await ctx.send(error)
评论列表
文章目录