Added sneaky dictionary to bot and conn
This commit is contained in:
parent
205294dea7
commit
1feb6d1a1b
1
bot.py
1
bot.py
|
@ -37,6 +37,7 @@ print "Operating System: %s, Python " \
|
||||||
"" % (opsys, python_imp, python_ver, architecture)
|
"" % (opsys, python_imp, python_ver, architecture)
|
||||||
|
|
||||||
bot = Bot()
|
bot = Bot()
|
||||||
|
bot.vars = {}
|
||||||
bot.start_time = time.time()
|
bot.start_time = time.time()
|
||||||
|
|
||||||
print 'Loading plugins...'
|
print 'Loading plugins...'
|
||||||
|
|
|
@ -132,6 +132,7 @@ class IRC(object):
|
||||||
self.server = server
|
self.server = server
|
||||||
self.port = port
|
self.port = port
|
||||||
self.nick = nick
|
self.nick = nick
|
||||||
|
self.vars = {}
|
||||||
|
|
||||||
self.out = Queue.Queue() # responses from the server are placed here
|
self.out = Queue.Queue() # responses from the server are placed here
|
||||||
# format: [rawline, prefix, command, params,
|
# format: [rawline, prefix, command, params,
|
||||||
|
|
Reference in a new issue