Make bot's help message channel-neutral
This commit is contained in:
@@ -113,6 +113,8 @@ def gettitle(uri):
|
|||||||
uri = 'http://' + uri
|
uri = 'http://' + uri
|
||||||
uri = uri.replace('#!', '?_escaped_fragment_=')
|
uri = uri.replace('#!', '?_escaped_fragment_=')
|
||||||
|
|
||||||
|
title = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
redirects = 0
|
redirects = 0
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ commands.priority = 'low'
|
|||||||
|
|
||||||
def help(phenny, input):
|
def help(phenny, input):
|
||||||
response = (
|
response = (
|
||||||
"Hey there, I'm the bot for #vtluug. Say \".commands\" to me " +
|
"Hey there, I'm a friendly bot for this channel. Say \".commands\" " +
|
||||||
"in private for a list of my commands or check out my wiki " +
|
"to me in private for a list of my commands or check out my wiki " +
|
||||||
"page at %s. My owner is %s."
|
"page at %s. My owner is %s."
|
||||||
) % (phenny.config.helpurl, phenny.config.owner)
|
) % (phenny.config.helpurl, phenny.config.owner)
|
||||||
#phenny.reply(response)
|
#phenny.reply(response)
|
||||||
|
|||||||
Reference in New Issue
Block a user