Skip to content

Commit

Permalink
add formatting example
Browse files Browse the repository at this point in the history
  • Loading branch information
omnidan committed May 3, 2016
1 parent b7da654 commit ebd25bc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,16 @@ networks.send({
args: [ 'MODE', '#caffeinery', '+v', 'coffeabot1337' ]
})
```


## Colors / Formatting

Not supported by coffea yet, so use [irc-colors](https://www.npmjs.com/package/irc-colors) for now:

```js
import { blue } from 'irc-colors'

networks.on('message', (msg, reply) => reply(message(msg.channel,
blue("blue text")
)))
```

0 comments on commit ebd25bc

Please sign in to comment.