casino.py 文件源码

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

项目:Jumper-Cogs 作者: Redjumpman 项目源码 文件源码
def _forceupdate_casino(self, ctx):
        """Force applies older patches
        This command will attempt to update your JSON with the
        new dictionary keys. If you are having issues with your JSON
        having a lot of key errors, namely Cooldown, then try using
        this command. THIS DOES NOT UPDATE CASINO
        """

        server = ctx.message.server
        settings = super().check_server_settings(server)
        super().casino_patcher(settings, force=True)
        super().save_system()
        await self.bot.say(_("Force applied several data updates. Please reload casino."))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号