From d3f23eafb883c3e0678b51d3a88cd494865a3b15 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 8 Feb 2019 15:34:04 +0000 Subject: [PATCH] make `!sp` and alias of `!spotify` (spotify.py) --- modules/spotify.py | 1 + 1 file changed, 1 insertion(+) 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): """