Skip to content

Latest commit

 

History

History
140 lines (90 loc) · 6.18 KB

README_EN.md

File metadata and controls

140 lines (90 loc) · 6.18 KB

Kook-Valorant-Bot

this is a Valorant bot for KOOK platform

English | 简体中文

python commit release khl server githubstars

Bot Log Image

KOOK (once called kaiheila) is a Chinese voice communication platform.

This bot is only used in Chinese platform, so I didn't write a more detail README in English. Sorry for that

Command

Here is the Command List for bot:

Help Function
/ahri help command (Because /helpconflicts with other bots, /ahri is used instead, which is an hero-name in League of Legends)
/vhelp help command for Valorant search fuction
Valorant Function
/val err_code help with the err_code of valorant
/saveid save or change user's game ID
/myid show user's game ID
/bundle name search for skin bundles (only support zh-TW )
/login account passwd login your riot_account to fetch auth_token
/login-l show riot accout you have logined
/tfa vcode login with verify code of MFA user
/logout logout your riot_account
/shop fetch skin at daily shop
/night fetch night market
/uinfo or /point fetch player card & title,remaining Vp & Rp
/mission fetch player's mission (Under developmen)
/match fetch player's match history
/notify-a skin_name search for skin name,providing NO for add it into notification
/notify-l show current notify skin
/rate skin_name search skin by name for /rts
/rts NO. point comment select skin_no. to rate a point(0~100) and leave a comment to it
/kkn checkout yesterday's heighest/lowest rate_point of daily shop

notify function require user to stay login, bot wil fetch your daily shop at 08:00AM GMT+8 .If the skin is in daily shop, bot will send a private message to user.

The bot is only using in Chinese platform, the skin name only support zh-TW

Vip Function
/vip-u uuid get vip from uuid
/vip-c check remaining time for vip
/vip-shop check current vip-shop background img
/vip-shop img-url add vip-shop background img
/vip-shop-s NO. switch vip-shop background img using NO., NO. will show at /vip-shop
/vip-shop-d NO. delete vip-shop background img using NO.

If the user is a vip, the bot will also send the full picture of the daily-shop on that day through private message.

Other Function
/hello reply "world!"
/roll 1 100 return a number in 1~100
/countdown 30 set a countdown for 30s,which default is 60s
/TL context traslate context. from ZH to EN & Other languages to ZH
/TLON turn on real-time translation at current channel
/TLOFF turn off real-time translation
/we city weather of the city in 3 days
/hs history of today (now deleted)
- Automatically grant roles to users
- When someone sponsor the server, send a thanks message on the notification channel

You can find image examples for the functions in screenshot floder.

shop_img vp_rp

more screenshots bundle weather leaderborad night api_shop_img

How to used?

make sure your Windows/Linux Python version 3.10+

pip install -r requirements.txt

It is highly recommand to checkout khl.py/example first for basic kook bot init

If you want to use this bot, go WIKI for more infomation


About

Many codes in this repo are modified and used according to others' tutorials

Special Thanks🎁

If you like this project,please hit a star!✨