diff options
| author | 2018-09-30 17:29:09 +0100 | |
|---|---|---|
| committer | 2018-09-30 17:29:09 +0100 | |
| commit | 10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 (patch) | |
| tree | 4da29ff0462ca69820d81aa95afb4b261ab3213c /modules/wikipedia.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/wikipedia.py')
| -rw-r--r-- | modules/wikipedia.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/wikipedia.py b/modules/wikipedia.py index f668b8ca..2b6a70c0 100644 --- a/modules/wikipedia.py +++ b/modules/wikipedia.py @@ -6,7 +6,8 @@ class Module(ModuleManager.BaseModule): @Utils.hook("received.command.wiki|wi", min_args=1) def wikipedia(self, event): """ - Get information from wikipedia + :help: Get information from wikipedia + :usage: <term> """ page = Utils.get_url(URL_WIKIPEDIA, get_params={ "action": "query", "prop": "extracts", |
