- Python 3.9+ (Recommended)
- Node.js
- FFmpeg
> git clone https://github.com/MhankBarBar/hitori-bot
> cd hitori-bot
> pip3 install -r requirements.txt
replace the secure_api_key
with whatever you want
> npx @open-wa/wa-automate --socket -p 8085 -k secure_api_key --use-chrome
> python3 main.py
also don't forget to replace this part with your own secure_api_key in main.py
on line 6
KEY = 'your secure api key here'
For advanced users, you can use cli to run the bot, this command will automatically restart program when file changed/modified
> python3 -m cli run --debug
open config.json
and change this part with whatever you want
{
"authorSticker": "MhankBarBar",
"chatGPT": "",
"owner": "[email protected]",
"packSticker": "Hitori Bot",
"prefix": "!"
}
- Create account on OpenAI
- Go to https://platform.openai.com/account/api-keys
- Copy API key and paste it on
config.json
Feature | Status |
---|---|
Sticker Creator | ✅ |
Downloader | ✅ |
Group Manager | ✅ |
Image Converter | ✅ |
Genshin Impact | ✅ |
Owner Command | Todo |