diff options
-rwxr-xr-x | fot.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,8 +4,9 @@ from twisted.words.protocols import irc from twisted.internet import reactor, protocol from twisted.python import log from twisted.protocols.basic import LineReceiver +from twisted._version import version as twisted_version -import os, re +import os, re, platform from ConfigParser import ConfigParser @@ -57,6 +58,11 @@ def refresh_modules(): class Bot(irc.IRCClient): def __init__(self): + self.versionName = 'fot' + self.versionNum = 'Python/%s %s' % (platform.python_version(), str(twisted_version)) + self.versionEnv = '%s %s %s %s' % (platform.system(), platform.release(), platform.version(), platform.machine()) + self.sourceURL = 'http://cgit.jvnv.net/fot/' + bots.append(self) self.modules = {} self.keywords = {} |