There was no need for that.
some modifications

- bot reconnects if it goes "ping timeout", i.e. the connection most likely died.
- added "before_event" decorator, to allow events to be called just before the actual event.
- changed irc-on-* function interfaces a bit.
- added state addon, that stores visible users and channels.
- *nyaa command uses state addon now to get a random user.
convenience functions for state addon.