basic.py 文件源码

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

项目:jose 作者: lnmds 项目源码 文件源码
def version(self, ctx):
        """Show current josé version"""
        pyver = '%d.%d.%d' % (sys.version_info[:3])
        head_id = await shell('git rev-parse --short HEAD')
        branch = await shell('git rev-parse --abbrev-ref HEAD')

        await ctx.send(f'`José v{self.JOSE_VERSION} git:{branch}-{head_id} '
                       f'py:{pyver} d.py:{discord.__version__}`')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号