aboutsummaryrefslogtreecommitdiff
path: root/modules/urbandictionary.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/urbandictionary.py')
-rw-r--r--modules/urbandictionary.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/urbandictionary.py b/modules/urbandictionary.py
index 6151afb8..2d5edd21 100644
--- a/modules/urbandictionary.py
+++ b/modules/urbandictionary.py
@@ -5,11 +5,11 @@ URL_URBANDICTIONARY = "http://api.urbandictionary.com/v0/define"
REGEX_DEFNUMBER = re.compile("-n(\d+) \S+")
class Module(ModuleManager.BaseModule):
- @Utils.hook("received.command.urbandictionary|ud", min_args=1,
- usage="<term>")
+ @Utils.hook("received.command.urbandictionary|ud", min_args=1)
def ud(self, event):
"""
- Get the definition of a provided term from Urban Dictionary
+ :help: Get the definition of a provided term from Urban Dictionary
+ :usage: <term>
"""
term = event["args"]
number = 1