Commit 6f8dd2b0 authored by Mindiell's avatar Mindiell
Browse files

Retrieve title of urls, needed for rp command

parent f253ab24
......@@ -201,9 +201,9 @@ class Wantzel(object):
user ="([^!]*)!", user).group(1)
Utils.debug("Message received: %s %s %s" % (user, channel, msg))
# Whatever is done, get the title of an existing url in a message
#title = ""
#if "http" in msg:
# title, website = get_title(msg)
title = ""
if "http" in msg:
title, website = get_title(msg)
# Never answer to botself
if user!=config.nickname:
# If it's a query, bot should answer to the user as the channel
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment