A Telegram chat bot powered by OpynGPT for natural language responses without the need for API keys. Easy to set up and use.
Python
23
6 commits
updated Feb 15, 2024
OpynGPT Telegram Chat Bot is a simple Telegram bot that utilizes the Telebot library and OpynGPT python module for generating natural language responses based on user input.
Before running the bot, ensure that you have the required Python libraries installed:
pip install telebot opyngpt python-dotenv
/newbot command to create a new bot.Open a terminal window.
Clone the OpynGPT-Chat repository:
git clone https://github.com/anxkhn/OpynGPT-Chat.git
Navigate to the cloned directory:
cd OpynGPT-Chat
Create a file named .env in the same directory as your script. Add the following line to the .env file:
TOKEN=your_telegram_bot_token
Replace your_telegram_bot_token with the actual token you obtained from BotFather.
Run the Python script:
python bot_script.py
Start a conversation with your bot on Telegram by searching for the bot's username, and the bot will respond to your messages using OpynGPT.
You can checkout the live OpynGPT Telegram Chat Bot by accessing @OpynGPT_Chatbot on Telegram. Send messages to the bot, and it will respond using OpynGPT.
If you'd like to contribute to the development of OpynGPT Telegram Chat Bot, feel free to fork the repository and submit a pull request.
This project is licensed under the GPLv3 License - check the license file for more information.
A Telegram chat bot powered by OpynGPT for natural language responses without the need for API keys. Easy to set up and use.
Python
23
6 commits
updated Feb 15, 2024
OpynGPT Telegram Chat Bot is a simple Telegram bot that utilizes the Telebot library and OpynGPT python module for generating natural language responses based on user input.
Before running the bot, ensure that you have the required Python libraries installed:
pip install telebot opyngpt python-dotenv
/newbot command to create a new bot.Open a terminal window.
Clone the OpynGPT-Chat repository:
git clone https://github.com/anxkhn/OpynGPT-Chat.git
Navigate to the cloned directory:
cd OpynGPT-Chat
Create a file named .env in the same directory as your script. Add the following line to the .env file:
TOKEN=your_telegram_bot_token
Replace your_telegram_bot_token with the actual token you obtained from BotFather.
Run the Python script:
python bot_script.py
Start a conversation with your bot on Telegram by searching for the bot's username, and the bot will respond to your messages using OpynGPT.
You can checkout the live OpynGPT Telegram Chat Bot by accessing @OpynGPT_Chatbot on Telegram. Send messages to the bot, and it will respond using OpynGPT.
If you'd like to contribute to the development of OpynGPT Telegram Chat Bot, feel free to fork the repository and submit a pull request.
This project is licensed under the GPLv3 License - check the license file for more information.