Skip to content

v1.2.2

Latest
Compare
Choose a tag to compare
@musnows musnows released this 09 Jun 13:50
a5a2d6d

What's Changed?

  • refactor(api): add params type in request route def
  • fix(api): fix url params check in /shop-img, add route for web/ahri status pages
  • feat(ShopImg/ApiHandler): add get_img_ratio in ShopImg.py, auto check img ratio instead of using api params;
  • feat(admin): update startup_msg when bot been killed
  • refactor(BotLog): handler guild/view err with warning
  • fix(apiHandler): fix if err in login_handler
  • fix(web): using relitive path in web/ahri/index.html
  • fix(Reauth): using card msg in check_reauth err reply

  • refactor(api): 在route函数中新增参数的类型
  • fix(api): 修复 /shop-img 的 params 参数检查, 新增访问 web/ahri 状态页面静态资源的route
  • feat(ShopImg/ApiHandler): 新增 get_img_ratio 函数,使用该函数来自动检查图片的比例,而不需要在api参数中指明。
  • feat(admin): 当机器人被kill掉的时候,更新startup_msg
  • refactor(BotLog): 使用 warning 来处理 guild/view err
  • fix(apiHandler): 修复login_handler的错误if参数和其他错误
  • fix(web): 在 web/ahri/index.html 中使用相对路径来正确访问静态资源
  • fix(Reauth): 在 check_reauth 的错误回复中使用卡片消息