- Talk with @BotFather on telegram.
- Create a new bot and generate a Token
- Enable
/setinline
and/setinlinefeedback
on @BotFather - Enter your Token in your
.env
file.
- Open the Codespace from the Github Repository. Code -> Codespaces -> Create Codespace
- Everything is already setup in the codespace config.
- Install recommended extensions (OPTIONAL, but good to have)
- Clone this repo
- Make sure you have Poetry (if not
pip install poetry
) it should alreeady be in the codespace - Get into the poetry env with
poetry shell
Copy .env.example
in a .env
file. Fill in your tokens and variables.
- Run
python bot.py
. - CTRL SHIFT F5
The app is already perfectly setup for VSCode debuggers
VSCode debuggers works well in this case, you may use it. To further ease debugging experience, you'd set up a debug configuration like the one below. It'll help you reload just by pressing CTRL+SHIFT+F5
ping @panachaud in case you need any help in getting setup