TODO
TODO
git clone https://github.com/glaubway/ifs-tg-bot.git
Then edit .env file with any text editors like vim, nano, mcedit, etc:
cd ifs-tg-bot
mv .env_sample .env
vim .env
Fill variables with your information:
BOT_TOKEN = '' // your bot token
CHAT_ID = '' // chat id with admins
GLOBAL_ADMINS = '' // admins telegram nickname, "," as separator (without @)
EVENT_CITY = '' // city name (Kyiv)
EVENT_TIMEZONE = '' // your city timezone (Europe/Kiev)
EVENT_LANGUAGE = '' // your event language (en or ua)
EVENT_DATE_RESTRICTION = '' // allow or disallow sent messages at the no FS day (False or True)
EVENT_TIME_RESTRICTION = '' // allow or disallow sent messages at the no FS time (False or True)
You should have installed docker packages.
docker compose up -d
The bot is currently extended with the following libraries.
Plugin | Link |
---|---|
python-telegram-bot | Github |
GPL-3.0 license