Metadata-Version: 2.4
Name: pyircsdk
Version: 1.7.2
Summary: pyIRCSDK is a Python library for creating IRC bots and clients. It is designed to provide granular access to raw mesages and to provide an event emitter like interface for handling messages.
Project-URL: Homepage, https://github.com/bludot/pyircsdk
Project-URL: Issues, https://github.com/bludot/pyircsdk/issues
Author-email: Bludot <admin@floretos.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pyIRCSDK

pyIRCSDK is a Python library for creating IRC bots and clients. It is designed to provide granular access to raw mesages
and to provide an event emitter like interface for handling messages.

## Installation

```bash
pip install pyIRCSDK
```

## Usage

```python
from pyIRCSDK import IRCClient

client = IRCClient("irc.freenode.net", 6667, "pyIRCSDK", "pyIRCSDK")
client.event.on("message", lambda message: print(message))
client.event.on("connected", lambda: client.send("JOIN #pyIRCSDK"))
client.event.on("raw", lambda message: print(message))
client.connect()

```

More event to come soon:
* connected
* disconnected
* join
* part
* kicked
* message
* raw
