2014-06-06 19:58:53 +05:30
|
|
|
{-|
|
|
|
|
Module : Network.IRC.Types
|
|
|
|
Description : Types for the IRC bot and the message handlers.
|
|
|
|
Copyright : (c) Abhinav Sarkar, 2014
|
|
|
|
License : Apache-2.0
|
|
|
|
Maintainer : abhinav@abhinavsarkar.net
|
|
|
|
Stability : experimental
|
|
|
|
Portability : POSIX
|
|
|
|
-}
|
2014-05-04 16:50:19 +05:30
|
|
|
|
2014-05-11 14:01:09 +05:30
|
|
|
module Network.IRC.Types
|
2014-06-06 19:58:53 +05:30
|
|
|
(
|
|
|
|
-- * IRC related
|
|
|
|
Nick (..)
|
2014-05-20 02:40:08 +05:30
|
|
|
, User (..)
|
|
|
|
, Message (..)
|
2014-05-25 01:09:31 +05:30
|
|
|
, MessageDetails (..)
|
2014-05-20 02:40:08 +05:30
|
|
|
, Command (..)
|
2014-06-06 19:58:53 +05:30
|
|
|
-- * Events
|
2014-05-21 00:06:37 +05:30
|
|
|
, Event (..)
|
|
|
|
, SomeEvent
|
|
|
|
, EventResponse (..)
|
2014-06-06 19:58:53 +05:30
|
|
|
, QuitEvent(..)
|
|
|
|
-- * Bot
|
2014-05-20 02:40:08 +05:30
|
|
|
, BotConfig (..)
|
|
|
|
, Bot (..)
|
2014-06-06 19:58:53 +05:30
|
|
|
, BotStatus (..)
|
|
|
|
-- * Message handlers
|
|
|
|
, MsgHandlerName
|
2014-05-20 02:40:08 +05:30
|
|
|
, MonadMsgHandler
|
2014-06-06 19:58:53 +05:30
|
|
|
, MsgHandler (..)
|
2014-05-20 02:40:08 +05:30
|
|
|
, newMsgHandler
|
2014-06-06 19:58:53 +05:30
|
|
|
, MsgHandlerMaker (..)
|
|
|
|
) where
|
2014-06-02 00:26:41 +05:30
|
|
|
|
2014-06-06 19:58:53 +05:30
|
|
|
import Network.IRC.Internal.Types
|