bot.py 文件源码

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

项目:main_bot 作者: PythonBuddies 项目源码 文件源码
def load_cog(cog):
    try:
        bot.load_extension(cog)
        print('Loaded {0}'.format(cog))
    except (ImportError, discord.ClientException) as e:
        print('Failed to load cog {0}\n{1}: {2}'.format(
            cog, type(e).__name__, e))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号