21c02207cc
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/gulpjs/glob-parent/releases) - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md) - [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: glob-parent dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
src | ||
.env.sample | ||
.gitignore | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json | ||
pub-redis-example.js |
README.md
NotificamBot
Telegram bot to reiceve notifications.
Notificambot reads notifications from a queue (pub/sub on redis).
Configuration
- Create telegram bot with @BotFather.
- Clone this repository.
- Start a redis instance on localhost.
- Install dependencies with
npm install
. - Configure env file (and rename from
env.sampe
to.env
). - Launch with
node src/server.js
You can configure templates into src/templates.js
.
Test
You can perform a test with command: node pub-redis-example.js