FORM TELEGRAM BOT
A open-source bot is developed for the purpose of creating and answering forms like Google Forms.
For advanced, try our new bot - Formspot_bot
Features :
- Users can able to create forms and maintain them
- Users can share the generated form link to others to get responses
- Users can able to answer specific form by using the link
- Users can able to get answers for their forms in
.csv
file
How to use ?
Creating a form:
-
Start the bot
-
Press Menu button to get the options
-
You find various menu buttons as given below
- Select Create button to create your own form
Enter your form title, no of questions and type the questions one by one
Atlast, a link will be generated for the current form which you can share to others and get their response
At anytime you want to cancel the process, press the Cancel the button
- Select View button to view your forms
It shows all the titles and select the desired form by tapping the corresponding number below
It provides the form details and share button for selecting the contact to share
- Select Answers button to get answers for your forms
It shows all the titles and select the desired form by tapping the corresponding number below
It provides preview and .csv file for the answers of the selected form
-
Select Help button to show the available commands
- Select Bot Stats to get current bot statistics
Answering a form :
-
Get the link from the creator of form and start the bot
-
The details of the desired form is shown and answer the questions one by one
-
At anytime you want to cancel the process, press Cancel button
-
When finish typing answers, the answers are saved to the form
How to deploy ?
Developers either use heruko like online server or make their computer as server for deploying this bot by :
-
Ensure you have
python3
installed -
Clone this repository to your machine
-
Create a virtual python environment by
python3 -m venv project
and activate it -
Install the required libraries by
pip install -r requirements.txt
-
Now, go to @BotFather in telegram, create a new bot and get the bot token
-
Enter the bot token and your username in
CONFIG.py
-
Run
python3 main.py