Skip to content

Commit

Permalink
Merge pull request #5 from HackerShackOfficial/at-badges
Browse files Browse the repository at this point in the history
Update readme and add npm badge
  • Loading branch information
atainter authored Jan 11, 2020
2 parents 8ce7abc + 6c710b9 commit bf2192f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Chatbot framework that listens and sends messages to multiple live-streaming pla

![](/~https://github.com/HackerShackOfficial/multi-stream-chatbot/workflows/Node%20CI/badge.svg)

[![NPM](https://nodei.co/npm/multi-stream-chatbot.png)](https://nodei.co/npm/multi-stream-chatbot/)

## Documentation

### Quick Start
Expand All @@ -16,6 +18,11 @@ npm init
Post the following content in `index.js`:

```js
const { StreamBot } = require("multi-stream-chatbot")
const {TwitchStream} = require("multi-stream-chatbot/streams")
const TwitchAuth = require("multi-stream-chatbot/auth/twitch")
const {AbstractSimpleChatAction} = require("multi-stream-chatbot/actions")

// Create an action
class DiceRollAction extends AbstractSimpleChatAction {
matchesCommand(message, ctx) {
Expand Down

0 comments on commit bf2192f

Please sign in to comment.