aboutsummaryrefslogtreecommitdiff
path: root/modules/soundcloud.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/soundcloud.py')
-rw-r--r--modules/soundcloud.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/soundcloud.py b/modules/soundcloud.py
index 70e75423..8ecde75a 100644
--- a/modules/soundcloud.py
+++ b/modules/soundcloud.py
@@ -11,10 +11,12 @@ class Module(object):
_name = "SoundCloud"
def __init__(self, bot, events, exports):
self.bot = bot
- events.on("received").on("command").on("soundcloud", "sc"
- ).hook(self.soundcloud, help="Search SoundCloud")
+ @Utils.hook("received.command.soundcloud|sc")
def soundcloud(self, event):
+ """
+ Search SoundCloud
+ """
query = None
url = None