youtube_parser: remove annoying logs
This commit is contained in:
parent
cde8d8883d
commit
19e5408ba2
|
@ -35,10 +35,8 @@ class YoutubeParserPlugin(Plugin):
|
||||||
def on_pubmsg(self, event):
|
def on_pubmsg(self, event):
|
||||||
words = event.arguments[0].split()
|
words = event.arguments[0].split()
|
||||||
for word in words:
|
for word in words:
|
||||||
self.bot.log_d("testing " + word)
|
|
||||||
match = self.VIDEO_URL_RE.match(word)
|
match = self.VIDEO_URL_RE.match(word)
|
||||||
if match:
|
if match:
|
||||||
self.bot.log_d("match!")
|
|
||||||
return self.handle_match(match, event.target)
|
return self.handle_match(match, event.target)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue