Data.IRC.Event
Contents
Description
Represents events in an IRC channel. These do not correspond precisely to messages of the IRC protocol. They provide a somewhat higher-level view.
- newtype Nick = Nick Text
- data Event
- data EventAt
- data GenericEvent = GenericEvent Constr (Maybe Nick) [Text]
- decompose :: Event -> GenericEvent
Events
IRC nicks.
Events in an IRC channel.
Constructors
| Join Nick Text | User joined. |
| Part Nick Text | User left the channel. |
| Quit Nick Text | User quit the server. |
| ReNick Nick Nick | User changed from one to another nick. |
| Talk Nick Text | User spoke ( |
| Notice Nick Text | User spoke ( |
| Act Nick Text | User acted ( |
| Kick Nick Nick Text | User was kicked by user. |
| Mode Nick Text | User set mode on the channel. |
| Log Text | Logging started or stopped. |
| Topic Text | Topic listing or change. |
| Names Text | Users list. |
Event with timestamp.
Generic events
data GenericEvent Source
For working with s generically.
Event
Indicates the "subject" of an event, if any, followed by other text.
The subject of a event is the old nick.
ReNick
Constructors
| GenericEvent Constr (Maybe Nick) [Text] |
Instances
decompose :: Event -> GenericEventSource
Decompose an into a Event.
GenericEvent