/warframe_notification_tbot

Telegram bot for event notification with Warframe rare award

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

warframe_notification_tbot

Python 3.7 GitHub tag License

A Telegram bot for event notification with a rare award (Orokin Reactor, Orokin Catalyst, Forma and etc). It can send a notification to a configured Telegram channel or manually through an inline query to another user.

NOTE: This bot uses https://api.warframestat.us

You can try: @warframe_monit_bot

Commands

Supported public commands

/start             Main menu
/invasions         Invasions list
/alerts            Alerts list
/voidtrader        Baro Ki'Teer item list
/twitchstatus      Check Warframe Twitch channel activity

Supported admin commands

/admin             Admin menu. Allows to enable or disable Telegram channel notifications.

Build and run

Initial setup

$ git clone https://github.com/sonjek/warframe_notification_tbot.git
$ cd warframe_notification_tbot
$ cp data/config.sample.json data/config.json
$ nano data/config.json
_________________________________________________________________________
{
    "admin_name": "ADMIN_NAME",
    "admin_id": "ADMIN_ID",
    "channel_id": "CHANNEL_ID",
    "bot_token": "TOKEN",
    "twitch_token": "TOKEN",
...
_________________________________________________________________________

Run method 1

$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r tbot/requirements.txt
$ venv/bin/python -i -m tbot.bot

Run method 2

Presetting

Build and run

$ docker-compose up --build -d

Run method 3

Presetting

Build and run

$ make build

License

The contents of this repository are licensed under the The 3-Clause BSD License