diff options
-rw-r--r-- | Plugins/HelloWorld.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs index c3a6a69..5c0a0b7 100644 --- a/Plugins/HelloWorld.hs +++ b/Plugins/HelloWorld.hs @@ -17,9 +17,9 @@ module Plugins.HelloWorld where import Plugins data HelloWorld = HelloWorld - deriving (Read) + deriving (Read, Show) instance Exec HelloWorld where - run HelloWorld = return "<fc=red>Hello World!!</fc>" - rate HelloWorld = 1000 + rate HelloWorld = 0 alias HelloWorld = "helloWorld" + start HelloWorld cb = cb "<fc=red>Hello World!!</fc>" |