/HaskellTwitchBot

A simple educational twitch chat bot written in Haskell.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

haskell-twitch-bot

A simple educational twitch chat bot written in Haskell.

Modified from https://wiki.haskell.org/Roll_your_own_IRC_bot.

Create your bot by following these steps:

  1. Configure authentication by following the steps in src/config/Secret.hs.template
  2. Copy, modify, and rename src/botsTemplateBot.hs according to your bot requirements.
  3. Rename the import on line 8 of src/Lib.hs to the name of your bot module.

After you follow these steps, build your bot:

stack build

Then run it:

stack run

Alternatively, you may run your bot interactively:

stack ghci
> Lib.main