general.py 文件源码

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

项目:Excalibot 作者: endreman0 项目源码 文件源码
def _colors(self, cls=discord.Color):
        for name in dir(cls):
            attr = getattr(cls, name)
            if inspect.ismethod(attr) and not inspect.signature(attr).parameters: # No-args classmethods are color factory methods
                yield (name, attr())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号