Skip to content

The simplest telegram bot for dialogue with ChatGPT

License

Notifications You must be signed in to change notification settings

younesgamer11/ChatGPT_Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Bot

wakatime

Telegram-bot (Python, aiogram, OpenAI API)

The simplest telegram bot for dialogue with ChatGPT.
Requires OpenAI API token for authorization.
Prepared for deployment on Railway

Deploy on Railway

Variables

  • BOT_TOKEN - Telegram Bot Token
  • RAILWAY_APP_NAME - Part of the URL with the name of the application (you can get it when you deploy)
  • CHAT_ID - ID of the telegram chat where the bot is allowed to work. Must be added to the list WORKS_CHATS in the file config.py. You can add several.
  • AI_KEY - OpenAI API Token

About

The simplest telegram bot for dialogue with ChatGPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Procfile 1.1%