Releases: musnows/Kook-Valorant-Bot
Releases · musnows/Kook-Valorant-Bot
v1.0.8
What's Changed?
- feat(web): set no-referrer,add footer to info
- feat(web): use POST for api,set params in xmlhttp.send
- docs(init bot): update init bot docs
- docs(api): update api-docs
- fix(main): fix raise err in check_GloginRate
- fix(shopimg): fix err of comparing between int & str
Move web to musnows/Valorant-Shop-Web
- 网页:设置空referrer,方便访问kook的图片;在页脚添加info信息
- 网页:将api调用从get改成post
- 文档:更新api文档和init-bot文档
- 修复:main中的
check_GloginRate
raise EzAuth的错误而不是RiotAuth - 修复:shopimg中在int和str之间进行比较
v1.0.7.1
What's Changed?
- feat(web): add
web
for api showcase - docs(README): update shields.io repo links in README
- fix(api): add
status=200
in response - feat(apihanlder): add
lsky_upload
- fix(apihandler): fix wrong http check for img_src
- feat(web): 更新了web文件夹,其中html用于api的前端展示和在线使用
- docs(README): 更新了 README文件中的 shields.io 链接,之前用的还是老的用户名
- fix(api): 在return里面添加了status值,否则无法被正常识别是否返回
- feat(apihandler): 添加了lsky的上传代码,但是效率比上传到kook还低所以没有用
- fix(apihandler): 修复了错误的img_src的http if判断
为什么出现了两个1.0.7的tag?因为,我发现我使用了github pr之后忘记merge到main就来发版了……
v1.0.6
What's Changed?
- refactor(utils): rename endpoints as utilis
- fix(main): add try/except in update_spb
- feat(main): add level, frist win time in
/uinfo
- fix(api): add http check of img_src, fix list_shop params err in
/shop-draw
- fix(api): set host as
0.0.0.0
for remote connection - docs(api): update api docs
- refactor(utils): 重命名 endpoints 文件夹为 utilis
- fix(main): 添加 try/except 到 update_spb 命令
- feat(main):
/uinfo
命令添加首胜刷新时间和当前用户等级 - fix(api): 添加了img_src的链接http检查,修改了
/shop-draw
接口中对listshop参数的错误解析 - fix(api): host设置为了
0.0.0.0
(之前是127.0.0.1) 提供外网网络链接 - docs(api): 更新api文档
v1.0.5
What's Changed?
- refactor(endpoints): move valorant-api to
endpoints/valorant
, move api toendpoints/api
- feat(EzAuth): add
EzAuthExp
for riot auth exception, usingEzAuthExp
for login command in main.py - feat(botlog): add msg.author_id print in log
- feat(botlog): add
get_proc_info
using psutil - fix(main): fix
Sample larger than population
err invip-r
- fix(FileManange): add
'data'
in VipUser.json/UserAuthID.json - docs(api): update api docs
- docs(log.example): add docs/log.example for all json log-files
- docs(requirements): update requirements.txt
v1.0.4
What's Changed?
- refactor(main): use get_card() in all avalible def to replase similar code
- feat(main): add account/passwd save in login, add account/passwd reauth in login_reauth
- fix(main): delete reauthoirze failed send in notify.task
- docs(README): update README/README_EN
style changed
- 0e4cdf2 use yapf to format all files
v1.0.3
What's Changed?
- feat(api): add /shop-draw for img-draw only with skin_uuid_list
- feat(api): add indent,sort_keys in json.dumps
- refactor(main): delete user-login-rate-limited, modify global-login-rate-limited
- refactor(main): user fetch_vp_rp_dict for geting player currencise
- feat(main): add
__name__ == '__main__
in main.py - dcos(api): update api docs
- feat(botlog): add pm-block-check for apirequesthandler
- feat(kookapi): add
get_card
for basice reply card
v1.0.2
What's Changed?
- fix(main): set vip roll task from 60s to 80s, avoid conflict with
file save task
- feat(main): add kill command to exit bot
- feat(FileManage): add ReadOnly params for
__init__
, addappend/__eq__/__ne__
- feat(api): add /afd post for aifadian webhook
- docs(requirements): update requiremenst using
pipreqs
- docs(README): update README/README_EN
bot status info
an error in FileManage, cause bot log file all be deleted T-T
async def save_aio(self):
async with aiofiles.open(self.path, 'w', encoding='utf-8') as f:
await f.write(json.dump(self.value,indent=2, sort_keys=True, ensure_ascii=False))
#THE RIGHT ONE IS json.dumps
v1.0.1
What's Changed?
- feat(EzAuth): add cookie transfer to save login status in RiotAuth (which could make 2fa user stay login)
- docs(api): update api docs
- feat(api): add GetTime print in log
- feat(makefile): add
.PHONY:ps
for pid search - fix(ApiHandler): only fetch vp/rp when requesting 16-9 img
v1.0.0
2fa login is supported now! 🎉🎉
What's Changed?
- refactor(Shopimg): using
Shopimg.py
only for img draw,so that code could be used both in bot/api - refactor(EzAuth): add
auth2faWait
for 2fa login, instead of wait in msg - refactor(start): using start.py to start bot/api at once
- refactor(api): using
api.py
for api web,ApiHandler.py
for request handler - feat(api): add
/tfa
for 2fa user in api - refacotr(notify): using
ShopImg.py
for notify.task - refactor(LoaclFileUpd): add
LoaclFileUpd.py
for updating local Skin/Price/Bundle - feat(KookApi): add kook_creat_asset for api
- docs(api/init-bot): add api/init-bot.md in docs
- docs(README): update README, log-img use local img
v0.2.9.5
What's Changed?
- add 404 err judge of authorize
- using
code/config.json
to save all token and bot config - LevelIcon convert RGBA
- add time judge for 2fa user as 600s
- add GrantRoles, using json files to load THX_sponser gulid_id & role_id
TO DO in 1.0.0
refactor img_handler in main.py