hublinker.py 文件源码

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

项目:Squid-Plugins 作者: tekulvw 项目源码 文件源码
def master(self, ctx):
        """Makes this server a 'master' that others copy their roles from."""
        sid = ctx.message.server.id
        if sid not in self.links:
            self.links[sid] = {'ENABLED': False, 'SLAVES': []}
        await self.bot.say('Server ID: {}'.format(sid))
        self.save_links()
        log.debug("added master: {}".format(sid))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号