irc-fun-bot-0.1.0.0: src/Network/IRC/Fun/Bot/Chat.hs
{- This file is part of irc-fun-bot.
-
- Written in 2015 by fr33domlover <fr33domlover@rel4tion.org>.
-
- ♡ Copying is an act of love. Please copy, reuse and share.
-
- The author(s) have dedicated all copyright and related and neighboring
- rights to this software to the public domain worldwide. This software is
- distributed without any warranty.
-
- You should have received a copy of the CC0 Public Domain Dedication along
- with this software. If not, see
- <http://creativecommons.org/publicdomain/zero/1.0/>.
-}
-- | This module provides IRC commands the bot can do within a bot session.
-- They conveniently wrap the details of IRC connections and messages.
module Network.IRC.Fun.Bot.Chat
( -- * Connection Management
disconnect
--, reconnect
, quit
-- * Session Management
, run
, login
, pong
-- * Channels
, joinChannel
, joinMulti
, joinConfig
, partChannel
, partMulti
, partAll
-- * Sending Messages
, sendToChannel
, sendToUser
, failToChannel
, failToUser
-- * Other Utilities
, putIrc
)
where
import Network.IRC.Fun.Bot.Internal.Chat
import Network.IRC.Fun.Bot.Internal.Failure (failToChannel, failToUser)