event.eat() in command.regex for !title
This commit is contained in:
parent
2fcaf68f0e
commit
9a5ba753d0
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
:pattern-url: 1
|
:pattern-url: 1
|
||||||
"""
|
"""
|
||||||
if event["target"].get_setting("auto-title", False):
|
if event["target"].get_setting("auto-title", False):
|
||||||
|
event.eat()
|
||||||
url = event["match"].group(0)
|
url = event["match"].group(0)
|
||||||
title = self._get_title(event["target"], event["match"].group(0))
|
title = self._get_title(event["target"], event["match"].group(0))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue