aboutsummaryrefslogtreecommitdiffstats
path: root/src/Lib.hs
blob: 63fd3b86fa3c9e9b324633a432169b4e4ab421fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Lib
    ( someFunc
    ) where

import Message
import Plugin

someFunc :: IO ()
someFunc = do
    let message = Message
            { text    = "75ac7b18a009ffe7a77a17a61d95c01395f36b44"
            , channel = "#a-channel"
            , nick    = "anon"
            }
        Just plugin = matchPlugin message
    putStrLn $ performPlugin plugin message