aboutsummaryrefslogtreecommitdiff
path: root/modules/soundcloud.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-10 10:42:41 +0100
committerGravatar jesopo2018-10-10 10:42:41 +0100
commit376825ea96099efc0f5e890370a417db1902df1a (patch)
tree456f70d784e9b63cbc70b167380d95000d5e4030 /modules/soundcloud.py
parentRemove debug print in src.utils.http (diff)
signature
Mark command hooks that are aliases ('g' vs 'google')
Diffstat (limited to 'modules/soundcloud.py')
-rw-r--r--modules/soundcloud.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/soundcloud.py b/modules/soundcloud.py
index 3737d223..fd7300c3 100644
--- a/modules/soundcloud.py
+++ b/modules/soundcloud.py
@@ -10,7 +10,8 @@ REGEX_SOUNDCLOUD = "https?://soundcloud.com/([^/]+)/([^/]+)"
class Module(ModuleManager.BaseModule):
_name = "SoundCloud"
- @utils.hook("received.command.soundcloud|sc")
+ @utils.hook("received.command.sc", alias_of="soundcloud")
+ @utils.hook("received.command.soundcloud")
def soundcloud(self, event):
"""
:help: Search SoundCloud