Skip to content

ikigai-gh/alarm

Repository files navigation

Alarm bot

Signing in

  1. Sign in at telegram page;
  2. Save api_id and api_hash;
  3. Get the script tg_sign_in.pyz from releases;
  4. Enter your phone number and password (if necessary);
  5. Enter the code you've received from the telegram app;
  6. Now you've got a session file (named anon.session by default). Place it near the alarm.py script.

Running bot

  1. Copy config.ini.example to config.ini (or config_dev.ini if you want to test bot);
  2. Populate it with the values according to the comments;
  3. Run build.sh to build a docker image;
  4. If you want to just test a bot run dev.sh. Otherwise, execute a prod.sh script.

About

Telegram bot for receiving rocket alarm messages

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors