From 10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 30 Sep 2018 17:29:09 +0100 Subject: Switch to using docstring for usage, permission and require_mode --- modules/8ball.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/8ball.py') diff --git a/modules/8ball.py b/modules/8ball.py index ebfb1b0c..60cdb261 100644 --- a/modules/8ball.py +++ b/modules/8ball.py @@ -29,10 +29,11 @@ CHOICES = [ ] class Module(ModuleManager.BaseModule): - @Utils.hook("received.command.8ball", min_args=1, usage="") + @Utils.hook("received.command.8ball", min_args=1) def decide(selfs, event): """ - Ask the mystic 8ball a question! + :help: Ask the mystic 8ball a question! + :usage: """ event["stdout"].write("You shake the magic ball... it " "says " + Utils.bold(random.choice(CHOICES))) -- cgit v1.3.1-10-gc9f91