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/title.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/title.py') diff --git a/modules/title.py b/modules/title.py index ee00bc37..6ec5c6d8 100644 --- a/modules/title.py +++ b/modules/title.py @@ -7,7 +7,8 @@ class Module(ModuleManager.BaseModule): @Utils.hook("received.command.title|t", usage="[URL]") def title(self, event): """ - Get the title of a URL + :help: Get the title of a URL + :usage: [URL] """ url = None if len(event["args"]) > 0: -- cgit v1.3.1-10-gc9f91