diff --git a/modules/eightball.py b/modules/eightball.py index eede3f5c..dacbc258 100644 --- a/modules/eightball.py +++ b/modules/eightball.py @@ -34,11 +34,10 @@ CHOICES = [ class Module(ModuleManager.BaseModule): _name = "8Ball" + @utils.hook("received.command.8", alias_of="8ball") @utils.hook("received.command.8ball", min_args=1) + @utils.kwarg("help", "Ask the mystic 8ball a question") + @utils.kwarg("usage", "") def decide(selfs, event): - """ - :help: Ask the mystic 8ball a question - :usage: - """ event["stdout"].write("You shake the magic ball... it says %s" % utils.irc.bold(random.choice(CHOICES)))