5.0.2 • Published 5 years ago

hemera-slackbot v5.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Hemera-slackbot

Simple wrapper around slack-bot-api allows you to send messages to slack users, groups and more with hemera.

npm styled with prettier

Usage

const hemera = new Hemera(nats)
hemera.use(hemeraSlackbot, {
  token: '<your-token>', // Add a bot https://my.slack.com/services/new/bot and put the token
  name: 'myBot'
})

RTM (Real-time-messaging)

hemera.act({
      topic: 'slackbot',
      cmd: 'subscribe',
      maxMessages$: -1,
    (err, req) => {
      // all ingoing events https://api.slack.com/rtm
  })

API

See slack-bot-api for an overview of all available methods. We pass it one to one.

Why?

Slack is one of the most popular chat services and provide a great integration for many services. It's no secret that it can improve the flow of information in teams. Be notified of critical system or business errors anytime and anywhere. Emails are annoying!

  • An important user has canceled his subscription -> notify me!
  • We reached the first 10000 Users -> notify us!
  • The server respond with 500 -> notify emergency group!
  • ...

Credits

Idea by OsoianMarcel

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.0.9

6 years ago

4.0.8

6 years ago

4.0.7

6 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago