This is a Telegram Bot built with aiogram and OpenAI that allows you to interact with a custom AI character. Unlike other similar bots, this bot has no censorship(Only when using OpenRouter as provider), is fully modular, and customizable. It's highly efficient, lightweight in terms of hosting requirements, and doesnโt overload the system. ๐โก
The goal of this project is to provide a fun and engaging AI character interaction experience for users, with no limitations, allowing complete freedom in how you interact with the character. Additionally, the bot is optimized to keep hosting costs extremely low. ๐ธ
I created this bot for fun and to boost activity in chats. It was developed in a single day to provide a unique and exciting experience for users to interact with AI characters without restrictions. Let's make chatting more fun and spontaneous!
Follow these steps to install and run the bot:
git clone https://github.com/your-repository-url.git
cd your-repository-directory
python3 -m venv venv
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt
Copy .env.example to .env:
cd resources
cp .env.example .env
Open .env and fill in the required information.
If you want the bot to use stickers, name each sticker with a short description, convert them to .webp format, and place them in the resources/stickers folder. ๐ผ๏ธ
Copy system-prompt.txt.example to system-prompt.txt:
cp system-prompt.txt.example system-prompt.txt
Find any AI character card online, paste its contents there, and save it as system-prompt.txt.
Now you can run the bot with the following command:
python main.py
Feel free to fork this repository, create pull requests, and contribute to the development of the project. All improvements, bug fixes, and feature suggestions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.