archangelic / pinhook

the pluggable python framework for IRC bots and Twitch bots
https://archangelic.github.io/pinhook/
MIT License
31 stars 4 forks source link

events #77

Open ghost opened 3 years ago

ghost commented 3 years ago

events. like on join, on kick, on leave, on ban, op, on deop etc etc

archangelic commented 3 years ago

I've made some changes that will allow you to push these events using the irc libs built-in on_{event_name} methods.

Such as:

def on_join(self, c, e):
    self.process_event(c, e)

I will work on sending all types by default in a future version