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/spotify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/spotify.py') diff --git a/modules/spotify.py b/modules/spotify.py index 6816cd50..4c2d3c57 100644 --- a/modules/spotify.py +++ b/modules/spotify.py @@ -7,7 +7,8 @@ class Module(ModuleManager.BaseModule): @Utils.hook("received.command.spotify", min_args=1) def spotify(self, event): """ - Search for a track on spotify + :help: Search for a track on spotify + :usage: """ page = Utils.get_url(URL_SPOTIFY, get_params={"type": "track", "limit": 1, "q": event["args"]}, json=True) -- cgit v1.3.1-10-gc9f91