Telegram bot for ORC4BIKES, an RC4 interest group
Handles the rental of bicycles from ORC4BIKES.
Using telegram, users are able to check the availability of bikes, and rent them after verification.
Command | Description |
---|---|
/start | Initializes the bot |
/topup | Top-up via PayLah / PayNow |
/routes | orc4bikes-curated routes |
/status | Credits and rental status |
/history | Recent transactions history |
/bikes | See available bikes |
/rent | Start your rental trip here! |
/getpin | Get the PIN for the bike you rented |
/return | Return the current bicycle |
/report | Report damages or anything sus |
-
Download and install Python by following the instructions here. Ensure that the version is at least the major version declared in
runtime.txt
. -
Install Python modules required.
python3 -m pip install -r requirements.txt
- Additionally, install the
python-dotenv
library if you are testing locally.
python3 -m pip install python-dotenv
-
Make a copy of
.env.example
as.env
, then fill in the necessary environment variables. -
Start the bot.
python3 main.py