updated links
This commit is contained in:
parent
012d709648
commit
3a14d78daa
6 changed files with 7 additions and 7 deletions
|
@ -1 +1 @@
|
||||||
Please see the wiki @ http://git.io/cloudbotwiki
|
Please see the wiki @ http://git.io/cloudbotircwiki
|
2
bot.py
2
bot.py
|
@ -13,7 +13,7 @@ os.chdir(sys.path[0] or '.') # do stuff relative to the install directory
|
||||||
class Bot(object):
|
class Bot(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
print 'Welcome to Cloudbot - Version DEV - http://git.io/cloudbot'
|
print 'Welcome to Cloudbot - Version DEV - http://git.io/cloudbotirc'
|
||||||
|
|
||||||
bot = Bot()
|
bot = Bot()
|
||||||
|
|
||||||
|
|
2
cloudbot
2
cloudbot
|
@ -5,7 +5,7 @@ echo " / ____/ /___ __ ______/ / __ )____ / /_"
|
||||||
echo " / / / / __ \/ / / / __ / __ / __ \/ __/"
|
echo " / / / / __ \/ / / / __ / __ / __ \/ __/"
|
||||||
echo "/ /___/ / /_/ / /_/ / /_/ / /_/ / /_/ / /_ "
|
echo "/ /___/ / /_/ / /_/ / /_/ / /_/ / /_/ / /_ "
|
||||||
echo "\____/_/\____/\__,_/\__,_/_____/\____/\__/ "
|
echo "\____/_/\____/\__,_/\__,_/_____/\____/\__/ "
|
||||||
echo " http://git.io/cloudbot by ClouDev "
|
echo " http://git.io/cloudbotirc by ClouDev "
|
||||||
echo ""
|
echo ""
|
||||||
locatefiles() {
|
locatefiles() {
|
||||||
botfile="/bot.py"
|
botfile="/bot.py"
|
||||||
|
|
|
@ -17,7 +17,7 @@ if not os.path.exists('config'):
|
||||||
"server": "irc.esper.net",
|
"server": "irc.esper.net",
|
||||||
"nick": "MyNewCloudBot",
|
"nick": "MyNewCloudBot",
|
||||||
"user": "cloudbot",
|
"user": "cloudbot",
|
||||||
"realname": "CloudBot - http://git.io/cloudbot",
|
"realname": "CloudBot - http://git.io/cloudbotirc",
|
||||||
"nickserv_password": "",
|
"nickserv_password": "",
|
||||||
"channels": ["#cloudbot"],
|
"channels": ["#cloudbot"],
|
||||||
"invitejoin": true,
|
"invitejoin": true,
|
||||||
|
@ -61,7 +61,7 @@ if not os.path.exists('config'):
|
||||||
}''') + '\n')
|
}''') + '\n')
|
||||||
print "Config generated!"
|
print "Config generated!"
|
||||||
print "Please edit the config now!"
|
print "Please edit the config now!"
|
||||||
print "For help, see http://git.io/cloudbotwiki"
|
print "For help, see http://git.io/cloudbotircwiki"
|
||||||
print "Thank you for using CloudBot!"
|
print "Thank you for using CloudBot!"
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ from util import hook
|
||||||
# CTCP responses
|
# CTCP responses
|
||||||
@hook.regex(r'^\x01VERSION\x01$')
|
@hook.regex(r'^\x01VERSION\x01$')
|
||||||
def ctcpversion(inp, notice=None):
|
def ctcpversion(inp, notice=None):
|
||||||
notice('\x01VERSION: CloudBot - http://git.io/cloudbot')
|
notice('\x01VERSION: CloudBot - http://git.io/cloudbotirc')
|
||||||
|
|
||||||
|
|
||||||
@hook.regex(r'^\x01PING\x01$')
|
@hook.regex(r'^\x01PING\x01$')
|
||||||
|
|
|
@ -51,7 +51,7 @@ def onjoin(paraml, conn=None, bot=None):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
# HTTP Useragent
|
# HTTP Useragent
|
||||||
http.ua_cloudbot = 'CloudBot - http://git.io/cloudbot'
|
http.ua_cloudbot = 'CloudBot - http://git.io/cloudbotirc'
|
||||||
|
|
||||||
# Stay-alive code
|
# Stay-alive code
|
||||||
stayalive = conn.conf.get('stayalive')
|
stayalive = conn.conf.get('stayalive')
|
||||||
|
|
Reference in a new issue