#irclib

IRC library for python 3.4+ using a class-based API

##Example

```python
from irclib.client.baseclient import BaseClient

class MyClient(BaseClient):
    def greeting(self, line) -> "JOIN":
        self.privmsg(self.channel, "Hello! :D")

x = MyClient(
    ("server", port),
    ("user_name", "host_name", "real_name"),
    "nickname",
    "#channel"
)

x.run()
```

#irclib

IRC library for python 3.4+ using a class-based API

##Example

```python
from irclib.baseclient import BaseClient

class MyIRC(BaseClient):
    def handle_JOIN(self, line):
        if line.nick == self.nick:
            self.privmsg("Hello everyone :D")
        else:
            self.privmsg("Hello " + line.nick)
    def handle_PART(self, line):
        self.privmsg("I miss him already D:")

bot = MyIRC(
    ("server.ip", 6667),
    ("usern", "hostn", "realn"),
    "nickn",
    "#channel"
)
    
bot.run()
```

Update example to reflect current API
Update example to reflect current API