Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define IRC in examples in README.md #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ A better IRC framework for node.js. For bots and full clients. Read the [documen

#### A simple and low-boilerplate framework to build IRC bots.
~~~javascript
const IRC = require('irc-framework')
var bot = new IRC.Client();
bot.connect({
host: 'irc.freenode.net',
Expand Down Expand Up @@ -41,6 +42,7 @@ bot.matchMessage(/^hi/, function(event) {

#### Channel/buffer objects. Great for building clients
~~~javascript
const IRC = require('irc-framework')
var bot = new IRC.Client();
bot.connect({
host: 'irc.freenode.net',
Expand Down