aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-08 15:34:04 +0000
committerGravatar jesopo2019-02-08 15:34:04 +0000
commitd3f23eafb883c3e0678b51d3a88cd494865a3b15 (patch)
tree3971a8a9fd7ccb5274c4ea49bf5c161e277de393 /modules
parentShow when a `check_run` is `queued` (github) (diff)
signature
make `!sp` and alias of `!spotify` (spotify.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/spotify.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/spotify.py b/modules/spotify.py
index 22e44336..8600194f 100644
--- a/modules/spotify.py
+++ b/modules/spotify.py
@@ -31,6 +31,7 @@ class Module(ModuleManager.BaseModule):
self._token_expires = time.time()+page.data["expires_in"]
return token
+ @utils.hook("received.command.sp", alias_of="spotify")
@utils.hook("received.command.spotify", min_args=1)
def spotify(self, event):
"""