Added sneaky dictionary to bot and conn

This commit is contained in:
Luke Rogers 2013-08-02 10:58:59 +12:00
parent 205294dea7
commit 1feb6d1a1b
2 changed files with 2 additions and 0 deletions

1
bot.py
View file

@ -37,6 +37,7 @@ print "Operating System: %s, Python " \
"" % (opsys, python_imp, python_ver, architecture)
bot = Bot()
bot.vars = {}
bot.start_time = time.time()
print 'Loading plugins...'

View file

@ -132,6 +132,7 @@ class IRC(object):
self.server = server
self.port = port
self.nick = nick
self.vars = {}
self.out = Queue.Queue() # responses from the server are placed here
# format: [rawline, prefix, command, params,