Topic 2.2-List_of_Events.md

Synopsis

The irccd daemon works like a waiting operator. It waits until someone connects, speak or something else happen. It's event based.

There are a lot of events that you can catch withing your plugin, of course there are no prerequisite of implementing all IRC events, you may want to catch only connections or messages.

The server object

Almost all of the callbacks have a server object, you may guess what it is. In fact, irccd as you may already know, is multiple server based so each plugins are called for each server defined because currently plugins are loaded globally and not per a server basis.

So if you want to answer to someone who asked you to compute a very complicated calculus, you need this server to send back a response and that's why server is passed almost all of these events.

Note about yourself

By default, almost every callback will also be called if you made an action, like joining, saying something, got kicked and so on.

The list of supported events

Currently, the following callback are supported:

generated by LDoc 1.4.0