hask-irc/hask-irc-core/Network/IRC/Types.hs

37 lines
706 B
Haskell
Raw Normal View History

{-|
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
-}
module Network.IRC.Types
(
-- * 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 (..)
-- * Events
2014-05-21 00:06:37 +05:30
, Event (..)
, SomeEvent
, EventResponse (..)
, QuitEvent(..)
-- * Bot
2014-05-20 02:40:08 +05:30
, BotConfig (..)
, Bot (..)
, BotStatus (..)
-- * Message handlers
, MsgHandlerName
2014-05-20 02:40:08 +05:30
, MonadMsgHandler
, MsgHandler (..)
2014-05-20 02:40:08 +05:30
, newMsgHandler
, MsgHandlerMaker (..)
) where
import Network.IRC.Internal.Types