From ec373cf66764fac042c6622d9a0adab9622ba50d Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 18 Nov 2018 07:59:47 +0000 Subject: [PATCH] Add help/usage to factoids.py --- modules/factoids.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/factoids.py b/modules/factoids.py index 72161789..7ac84dcd 100644 --- a/modules/factoids.py +++ b/modules/factoids.py @@ -3,6 +3,10 @@ from src import ModuleManager, utils class Module(ModuleManager.BaseModule): @utils.hook("received.command.factoid", min_args=1) def factoid(self, event): + """ + :help: Set/get a factoid + :usage: [= value] + """ if "=" in event["args"]: key, _, value = event["args"].partition("=") factoid = key.lower().strip()