memes.py 文件源码

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

项目:dogbot 作者: slice 项目源码 文件源码
def __error(self, ctx, error):
        if isinstance(error, commands.CommandInvokeError):
            logger.exception('Image processing error:')
            await ctx.send('Something went wrong processing your image. Sorry about that!')
            error.should_suppress = True
        elif isinstance(error, asyncio.TimeoutError):
            await ctx.send('Your image took too long to process...')
            error.should_suppress = True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号