core.py 文件源码

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

项目:BlitzcrankBotV2 作者: SuperFrosty 项目源码 文件源码
def __init__(self):
        super().__init__(command_prefix=commands.when_mentioned_or('b!'), description=DESCRIPTION)
        self.bot_token = config.TOKEN
        self.api_key = config.API

        for extension in STARTUP_EXTENSIONS:
            try:
                self.load_extension(extension)
            except Exception as exception:
                exc = '{}: {}'.format(type(exception).__name__, exception)
                print('Failed to load extension {}\n{}'.format(extension, exc))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号