Skip to content

mrksbgg/chatgpt-tgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ChatGPT Telegram BOT

Just a bot on pyrogram, that uses OpenAI API. And yes, i know that the code is trash.

Setup

Enter your API ID, API Hash, bot token, and API KEY in main.py

the code here


# your openai key goes here :)

openai.api_key = "APIKEYHERE"

# telegram api_id and hash

api_id = 12345678

api_hash = 'APIHASHHERE'

bot_token = 'BOTTOKENHERE'



also lines of code

Language

Initially, the bot was written in Russian, but on GitHub it will be in English.

Contributing

Pull requests are welcome. For major changes, please open an issue first

to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

ChatGPT telegram bot on pyrogram, that I made in 1 hour (i was bored lol)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages