EN | 中文
Warning
This project is still in a rapid iteration stage and may have bugs or instability issues. Breaking changes can occur at any time.
-
Forum-Topic in Group
ChiiBot will assign a unique topic for each guest who messages it, allowing for easy reply to different guests.
-
Reply or Not
You can reply to the original message or not. Bot will also perform corresponding reply mapping when forwarding your messages.
-
Blacklist
You can block or unblock users if you don't want to receive their messages.
-
Reaction Feedback
ChiiBot uses reactions to indicate successful forwarding, rather than cumbersome message prompts or no prompt at all.
-
Easy and Simple
No public IP required, can be deployed with proxy, set a Bot Token to start, multi-language supported.
- Create a bot using @BotFather and get the bot's token.
- Create a new group, add your bot to the group, and make it an admin.
- Set the group to Forum Mode.
- Open the group settings, turn on the "Topic" option.
- Now your group is in Forum Mode.
We assume you have Docker installed and running.
- Prepare a dir for storing the bot's database.
mkdir -p /path/to/ChiiBotData
- Run the bot using Docker.
Replace the{YOUR_BOT_TOKEN}
with your bot's token.docker run -d \ --name ChiiBot \ -v /path/to/ChiiBotData:/app/data \ -e CORE_BOT_TOKEN={YOUR_BOT_TOKEN} \ imyrs/chii-bot:latest
Not yet written...
Just send /chii_setup
in your Telegram group created in the previous step.
You should see a success message from the bot.
ChiiBot will save the group ID and admin ID (you) in the database.
Just try to send a message to the bot via another Telegram account.
docker pull imyrs/chii-bot:latest
docker stop ChiiBot
docker rm ChiiBot
docker run -d \
--name ChiiBot \
-v /path/to/ChiiBotData:/app/data \
-e CORE_BOT_TOKEN={YOUR_BOT_TOKEN} \
imyrs/chii-bot:latest
- How to use proxy?
You can add this-e CORE_PROXY={YOUR_PROXY_URL}
when running Docker. Example:HTTP and SOCKS5 proxy are supported.docker run -d \ --name ChiiBot \ -v /path/to/ChiiBotData:/app/data \ -e CORE_BOT_TOKEN={YOUR_BOT_TOKEN} \ -e CORE_PROXY=http://127.0.0.1:6969 \ imyrs/chii-bot:latest