Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

siren-notifier

Siren-notifier is a Python project to warn people of danger by calling in a telegram to specified users.

Due to the fact that there is no single common source for the notification of citizens about the siren - you are invited to change the base event that will trigger a call to the specified usernames.

In my case, the trigger event is a message with a photo about turning on / off the air raid alarm in the channel of the Khmelnytsky city council.

Installation

To run this project clone it and install specified requirements using the package manager pip in the next way:

pip install -r requirements.txt

Also you need to make some changes in the session.conf file. Specify api_id and api_hash from https://my.telegram.org/apps. session_name could be any string, for example you can provide your own username.

Usage

python run.py --dial_usernames @username_1 @username_2 --url_to_channel https://t.me/khm_gov_ua

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages