aboutsummaryrefslogtreecommitdiffstats
path: root/sorbot.cabal
diff options
context:
space:
mode:
authorTeddy Wing2017-08-12 20:04:14 +0200
committerTeddy Wing2017-08-12 20:04:14 +0200
commit59d7bdb0d4252288c600a0e97ed15a3494a9d1ee (patch)
treeae6833a6bf98e72e0fe3dc240121c8040b69259d /sorbot.cabal
parent983ede99bf5861bb52b163da846767e5de12ef07 (diff)
downloadsorbot-59d7bdb0d4252288c600a0e97ed15a3494a9d1ee.tar.bz2
Set up basic IRC support
Add the 'irc-client' package to facilitate communication over IRC. Copy the example from: http://hackage.haskell.org/package/irc-client-0.4.4.4/docs/Network-IRC-Client.html which connects to a network. We specify a channel to join, and what do you know, it works! Pretty cool. Commented out the code that runs the GitHub Commit plugin for now while testing this. Add the `OverloadedStrings` extension so we can write string literals but have them converted into the appropriate `Data.Text` and `Data.ByteString` types required by the IRC library.
Diffstat (limited to 'sorbot.cabal')
-rw-r--r--sorbot.cabal3
1 files changed, 3 insertions, 0 deletions
diff --git a/sorbot.cabal b/sorbot.cabal
index ba34ed4..8b29113 100644
--- a/sorbot.cabal
+++ b/sorbot.cabal
@@ -21,8 +21,11 @@ library
, Plugin.Base
, Plugin.GitHubCommit
build-depends: base >= 4.7 && < 5
+ , bytestring
+ , irc-client
, regex-tdfa
, sqlite-simple
+ , text
default-language: Haskell2010
executable sorbot-exe