bilabon / chatgpt_telegram_bot Goto Github PK
View Code? Open in Web Editor NEWСhatGPT Telegram bot with context support and saving chat history in sqlite.
License: MIT License
СhatGPT Telegram bot with context support and saving chat history in sqlite.
License: MIT License
Hi i'm having issue with this command: cp settings/config_template.py settings/config.py
So this is how my config.py looks like:
this is how my config_template.py looks like:
This is what's in the settings folder:
So my issue is when i run the following command: cp settings/config_template.py settings/config.py, i get this error:
The name folder is correct, the files name are correct. Can you help me understand what's wrong?
thanks
First of all congrats.
How do i run the bot? shall i type "python main.py"?
plus, i'm not sure whether i have to create a second config.py in the folder settings and set BOT_TOKEN, AI_TOKEN, ADMIN_USERNAME in that second file? Or should i just replace those value in the config.py you created.
I got confused because in the file you wrote " # You need to create config.py and set all these variables there", then on your github main page you don't mention to create a second config.py.
Can you explain?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.