diff options
| author | 2018-09-30 17:29:09 +0100 | |
|---|---|---|
| committer | 2018-09-30 17:29:09 +0100 | |
| commit | 10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 (patch) | |
| tree | 4da29ff0462ca69820d81aa95afb4b261ab3213c /modules/ids.py | |
| parent | received.command takes a final [command] part (diff) | |
| signature | ||
Switch to using docstring for usage, permission and require_mode
Diffstat (limited to 'modules/ids.py')
| -rw-r--r-- | modules/ids.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |
