summaryrefslogtreecommitdiffhomepage
path: root/Plugins/HelloWorld.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/HelloWorld.hs')
-rw-r--r--Plugins/HelloWorld.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs
index 2b52506..8e68713 100644
--- a/Plugins/HelloWorld.hs
+++ b/Plugins/HelloWorld.hs
@@ -16,10 +16,10 @@ module Plugins.HelloWorld where
import Commands
-data Plugin = HelloWorld
- deriving (Show, Read)
+data HelloWorld = HelloWorld
+ deriving (Read)
-instance Exec Plugin where
+instance Exec HelloWorld where
run HelloWorld = return "<fc=red>Hello World!!</fc>"
rate HelloWorld = 1000
alias HelloWorld = "helloWorld"