A haskell IRC bot because who doesn't need one
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

9 linhas
248B

  1. module IRC.Plugins.Plugin ( PluginSet, Plugin(..) ) where
  2. import qualified Data.HashMap.Lazy as M
  3. type PluginSet = M.HashMap String Plugin
  4. data Plugin = Plugin { pluginEvent :: String, -- e.g. PRIVMSG
  5. pluginEntry :: Int }