Skip to content

Releases: musnows/Kook-Valorant-Bot

v0.2.9

29 Dec 01:16
Compare
Choose a tag to compare

What's Changed?

  • feat(endpoints): move all realted py files to code/endpoints ff6f0c4
  • docs(README/gitignore): update README/gitignore
  • feat(Auth): add basic version of 2fa riot auth,update RiotClinet Version 1e68530
  • fix(main): fix err of UserAuthDict

v0.2.8

29 Dec 01:10
Compare
Choose a tag to compare

What's Changed?

  • feat(api): add val-api code
  • feat(api): change bot log img 从 repo 到 img_url by @Edint386 36e792c
  • fix(main): add 403 judge to login aiohttp err
  • fix(main): remove useless code
  • fix(main): add text word-limit to log command
  • docs(README/gitignore): update README & gitignore

v0.2.7

16 Dec 11:43
Compare
Choose a tag to compare

What's Changed?

  • add text_info for skin already been rated
  • add rate_err user check & set, in case someone using bad languages in comment
  • del useless code in /login, del /uncle command
  • update README
  • update requirement

v0.2.6

23 Oct 07:55
Compare
Choose a tag to compare

What's Changed?

  • add /rate&/rts for user to leave a comment to skin,show it at /shop command
  • add /kkn for showing yesterday's best/worse shop
  • update /vhelp & /ahri

v0.2.5

08 Oct 01:56
Compare
Choose a tag to compare

What's Changed?

  • add regex command to send reply when user (met)bot(met)
  • get player_gamename after reauthorize at once,in case user logout before shop reply
  • update reply of /login to inform user do it at private message, add log-bot-user to log /login cmd
  • add img-draw screenshot/log.png to save log-info for README
  • update README

v0.2.4

05 Oct 13:23
Compare
Choose a tag to compare

What's Changed?

  • update /ahri & /vhelp command
  • add key to BotUserDict.json to save guild name
  • fix /uinfo command invalid player_title/play_card err
  • add expection hanlder as ApiRequestFailed Exception/BaseException

add /night command to get night market!

now only have text reply for night market

v0.2.3

05 Oct 13:16
Compare
Choose a tag to compare

What's Changed?

  • add vip-ta command to add time for all vip user,incase vip fuction can't use for a while
  • fix length for text_name in log command
  • add global value Login_Forbidden to block user from using login related command (login/shop/uinfo)

update riot-auth sdk to fix 403 err

check floxay/python-riot-auth/issues/5 for more detail

v0.2.2

05 Oct 13:09
Compare
Choose a tag to compare

What's changed?

  • add new file bot_log.py for logging def, add new command log-list to show bot guild/user/cmd count
  • add more kook-api endpoints
  • add aliases to hello/ahri/log-list command
  • add check to nofity err user(such as bot can't create private message to user), reply to inform user when user using /notfiy-a command next time

v0.2.1

26 Sep 12:04
Compare
Choose a tag to compare

What's Changed?

Change files

  • move def vip-roll-start to check_vip.py
  • move def upd_msg & class icon_cm to endpoints.py

Other

  • modify reply of vip-roll
  • fix bugs
  • make log_str print all the user at once
  • update README

v0.2.0

19 Sep 03:19
Compare
Choose a tag to compare

Breaking Changes!

First Breaking Changes for bot

1. publish vip!

1.1 add vip daily shop reply

vip user will get different daily shop reply from bot.

  • normal user get 1000*1000 img
  • vip user get 1280*720 img

vip shop img

1.2 add special command for vip user

  • vip-u: get vip from uuid
  • vip-c: check remaining time for vip
  • vip-l: list vip user
  • vip-shop: vip user can modify their background of daily shop

1.3 more great fuctions!

  • vip user will get automatic daily shop reply at 8AM BJS
  • bot will log vip user daily shop img, next time when vip user use /shop command, bot will upload it from local path instead of drawing the img,which will save 2-3s of response time
  • using aiohttp cookie_jar to save vip user cookie, don't need to login again when bot restart because of maintenance。

2. other changes

  • add_date will fetch debug_channel at start,don't need to fetch every time when exception
  • change err reply to card message, bot will update msg instead of replying a new one when using /shop or /uinfo
  • add class icon for easy manage icon-url
  • update README

Special thanks😘

@Edint386 for add vip daily shop PIL code