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/ids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ids.py') diff --git a/modules/ids.py b/modules/ids.py index fb81f492..8a71c7f5 100644 --- a/modules/ids.py +++ b/modules/ids.py @@ -6,7 +6,7 @@ class Module(ModuleManager.BaseModule): @Utils.hook("received.command.myid") def my_id(self, event): """ - Show your user ID + :help: Show your user ID """ event["stdout"].write("%s: %d" % (event["user"].nickname, event["user"].get_id())) @@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule): @Utils.hook("received.command.channelid", channel_only=True) def channel_id(self, event): """ - Show the current channel's ID + :help: Show the current channel's ID """ event["stdout"].write("%s: %d" % (event["target"].name, event["target"].id)) -- cgit v1.3.1-10-gc9f91