Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 728 Bytes

File metadata and controls

18 lines (16 loc) · 728 Bytes

Telegram bot that works with moodle rest api.

To run locally simply execute: docker-compose --env-file .\telegram-bot.env up

Or set up these env vars:

VARIABLEDESCRIPTION
DB_USRdatabase user
DB_PASSdatabase password
DB_URLdatabase url(jdbc)
BOT_TOKENtelegram bot token
BOT_USRbot username
URLcurrent server's url
MOODLE_URLmoodle services url
ADMIN_CHATIDChat id of person that can force the events list to update

Currently, app works only with postgresql.