From b99079a516230dc7767626a68ef540dff3ae7632 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Tue, 14 Jun 2011 16:20:44 -0400 Subject: [PATCH] Make bot's help message channel-neutral --- modules/head.py | 2 ++ modules/info.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/head.py b/modules/head.py index 096b9a9..2c9f9cc 100755 --- a/modules/head.py +++ b/modules/head.py @@ -113,6 +113,8 @@ def gettitle(uri): uri = 'http://' + uri uri = uri.replace('#!', '?_escaped_fragment_=') + title = None + try: redirects = 0 while True: diff --git a/modules/info.py b/modules/info.py index e78a807..73d7f88 100755 --- a/modules/info.py +++ b/modules/info.py @@ -32,8 +32,8 @@ commands.priority = 'low' def help(phenny, input): response = ( - "Hey there, I'm the bot for #vtluug. Say \".commands\" to me " + - "in private for a list of my commands or check out my wiki " + + "Hey there, I'm a friendly bot for this channel. Say \".commands\" " + + "to me in private for a list of my commands or check out my wiki " + "page at %s. My owner is %s." ) % (phenny.config.helpurl, phenny.config.owner) #phenny.reply(response)