bases.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:Chiaki-Nanami 作者: Ikusaba-san 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号