diff options
| author | 2018-09-30 17:29:09 +0100 | |
|---|---|---|
| committer | 2018-09-30 17:29:09 +0100 | |
| commit | 10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 (patch) | |
| tree | 4da29ff0462ca69820d81aa95afb4b261ab3213c /modules/imdb.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/imdb.py')
| -rw-r--r-- | modules/imdb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/imdb.py b/modules/imdb.py index 1d3a8ab5..a584a9e4 100644 --- a/modules/imdb.py +++ b/modules/imdb.py @@ -9,10 +9,11 @@ URL_IMDBTITLE = "http://imdb.com/title/%s" class Module(ModuleManager.BaseModule): _name = "IMDb" - @Utils.hook("received.command.imdb", min_args=1, usage="<movie/tv title>") + @Utils.hook("received.command.imdb", min_args=1) def imdb(self, event): """ - Search for a given title on IMDb + :help: Search for a given title on IMDb + :usage: <movie/tv title> """ page = Utils.get_url(URL_OMDB, get_params={ "t": event["args"], |
