summaryrefslogtreecommitdiff
path: root/Hsbot/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Hsbot/Main.hs')
-rw-r--r--Hsbot/Main.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Hsbot/Main.hs b/Hsbot/Main.hs
index 5bf03bf..82b643f 100644
--- a/Hsbot/Main.hs
+++ b/Hsbot/Main.hs
@@ -13,6 +13,10 @@ import Hsbot.IRC
import Hsbot.Plugin
import Hsbot.Types
+import Plugins.Core(mainCore)
+import Plugins.Ping(mainPing)
+import Plugins.Quote(mainQuote)
+
-- | Bot's main entry point
imain :: IO ()
imain = do
@@ -24,6 +28,8 @@ imain = do
run :: IrcBot ()
run = do
initServer
- mapM_ loadPlugin defaultPlugins
+ loadPlugin "Ping" mainPing
+ loadPlugin "Core" mainCore
+ loadPlugin "Quote" mainQuote
runServer