Telegram bot for the white asparagus festival Asparagorgo.
- Clone the repository with
git clone
. - Enter in the
asparagorgo-bot
folder and create two folders and a text file:resources
: inside this folder put a json file namedconfig.json
with the bot token and a group id, e.g.:Why a group id? By creating a Telegram group with the bot and by giving its id, you'll get a notification (into the group) every time someone starts the bot. For more informations look at the{ "token": "XXXXXXXXX:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "mygroupid" : "-000000000" }
start
command insrc/Start.py
.images
: here you have to put pictures used by the bot (look at the bot commands for more info - no pictures needed as now).num_of_users.txt
: write0
in it. Every time a new user will/start
the bot, the number in this file will increase by 1.
- Install dependencies with
pipenv install
. - Type
pipenv shell
. - Run the bot by giving the command
python main.py
orpython3 main.py
.
/start
/help
/info
: menu with informations about the festival.