hitori-bot icon indicating copy to clipboard operation
hitori-bot copied to clipboard

Hitori Bot is WhatsApp Bot Written in Python

bocchi

Hitori Bot is Multipurpose WhatsApp Bot Written in Python

Requirements

Installation

Clone this project

> git clone https://github.com/MhankBarBar/hitori-bot
> cd hitori-bot

Install the dependencies:

> pip3 install -r requirements.txt

Usage

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'

Cli usage

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

Configuration

open config.json and change this part with whatever you want

{
    "authorSticker": "MhankBarBar",
    "chatGPT": "",
    "owner": "[email protected]",
    "packSticker": "Hitori Bot",
    "prefix": "!"
}

How to get chatGPT api-key?

  1. Create account on OpenAI
  2. Go to https://platform.openai.com/account/api-keys
  3. Copy API key and paste it on config.json

Features

Feature Status
Sticker Creator
Downloader
Group Manager
Image Converter
Genshin Impact
Owner Command Todo