make !sp and alias of !spotify (spotify.py)

This commit is contained in:
jesopo 2019-02-08 15:34:04 +00:00
parent d61bb387f7
commit d3f23eafb8

View file

@ -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):
"""