lizmat / IRC-Client

Raku module for building IRC (Internet Relay Chat) clients
https://raku.land/zef:lizmat/IRC::Client
Artistic License 2.0
15 stars 8 forks source link

Add irc-message event #23

Open zoffixznet opened 8 years ago

zoffixznet commented 8 years ago

The event will be emitted for all PRIVMSG and NOTICE messages and will be go after irc-privmsg/irc-notice have been emitted.

This will allow for use of trigger-based responses and avoid stuff like this:

method irc-privmsg-channel ($e) { self.handle: $e.text; }
method irc-to-me           ($e) { self.handle: $e.text; }