Skip to content

v1.1.1

Compare
Choose a tag to compare
@musnows musnows released this 06 Mar 15:20
· 143 commits to main since this release
1ab9e3c

What's Changed?

  • fix(main): fix err of import .utils. more detail
  • fix(ApiToken): import _log
  • fix(main): keyerr in SkinRateDict, modify 'pit' to 'rating'
  • feat(EzAuth): add exp_print in reauthorize; add EzAuthExp.InitError if an EzAuth obj used before init
  • fix(main): add EzAuthExp.InitError to check_reauth
  • feat(main): add isClear_UserShopCache for checking if UserShopCache was clear in 8AM.UTC+8
  • refactor(BotLog): rename BotLog.logging as BotLog.logMsg
  • refactor(utils): using _log in utils.modules add main.py/api.py

  • 修复 main中 import utils 使用了错误的 .utils 相关代码
  • 修复 ApiToken中使用了_log 却没有import
  • 修复 main中SkinRateDict的key和评分更新函数冲突
  • 功能 EzAuth添加EzAuthExp.InitError,检查是否有EzAuth对象在未初始化之前使用(比如2fa用户没有提供邮箱验证码就执行/shop命令了)
  • 修复 check_reauth函数中添加对EzAuth对象未初始化的判断
  • 更新 添加isClear_UserShopCache函数来检查UserShopCache是否在早八(北京时间,也就是商店更新时间)被清空
  • 重构 utils里面的模组全都使用_log来替代print
  • 重构 BotLog.logging 重命名为 BotLog.logMsg