memes.py 文件源码

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

项目:dogbot 作者: slice 项目源码 文件源码
def youcantjust(self, ctx, coolio: converters.Image, *, text: commands.clean_content):
        """You can't just..."""
        await Meme.recipe(ctx, {
            'image': 'resources/memes/you_cant_just.png',
            'render_as': 'you_cant_just.png',
            'additional': {
                'text_size': 20
            },
            'cache': [(coolio, (210, 209))],
            'steps': [
                {'place': (coolio, (27, 111))},
                {'text': f'"you can\'t just {text}"', 'x': 23, 'y': 12, 'max_width': 499}
            ]
        })
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号