diff options
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/title.py b/modules/title.py index 824cc6da..6684c936 100644 --- a/modules/title.py +++ b/modules/title.py @@ -5,9 +5,8 @@ REGEX_URL = re.compile("https?://\S+", re.I) class Module(object): def __init__(self, bot, events, exports): - events.on("received").on("command").on("title", "t").hook( - self.title, help="Get the title of the provided or most " - "recent URL.", usage="[URL]") + events.on("received.command").on("title", "t").hook(self.title, + help="Get the title of a URL", usage="[URL]") def title(self, event): url = None |
