/telegram-notifier

Telegram bot allowing advanced notifications.

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

Github CI

Logo

About

Member Notification Bot (MNB) is an app leveraging the Telegram Bot API, built on top of Morse. MNB adds missing features to Telegram, such as:

  • Allowing to ping/mention all users in a chat, just like in Slack

  • Allow to ping all chat/group administrators

The current bot is maintained and hosted by @Danirukun and runs on Heroku.

Usage

Current bot: @NotifyMembersBot

  1. Add the bot to a channel/group

  2. Add the bot to administrators

  3. Execute the /start command

Running

If you decide to create your own instance, you can either:

  • Build uberjar and run it:

    $ lein uberjar
    $ java -jar target/uberjar/telegram-notifier-standalone.jar
  • Run with Leiningen:

    $ lein run

Environment variables

TELEGRAM_TOKEN - your Telegram Bot API token

Development

The project uses Leiningen. To run locally, just run:

$ lein run

The app uses morse for the API, with additional thin wrappers around clj-http located in telegram-notifier.util namespace.

Make sure to set the TELEGRAM_TOKEN

Support

Ko-Fi

Contributing

Contributing is simple, just make a PR and mention one of the maintainers (e.g. @Danirukun).

License

Copyright © 2020 Daniils Petrovs

Distributed under the Eclipse Public License version 1.0