except UnicodeDecodeError as exc:
raise UnicodeBotError
-class Skeleton(ircbot.SingleServerIRCBot):
+class Bbc(ircbot.SingleServerIRCBot):
def __init__(self, serveur, debug=False):
temporary_pseudo = config.irc_pseudo + str(random.randrange(10000, 100000))
ircbot.SingleServerIRCBot.__init__(self, [(serveur, 6667)],
except KeyError:
print "Server Unknown : %s" % (serveur)
exit(404)
- bot = Skeleton(serveur, debug)
+ bot = Bbc(serveur, debug)
bot.start()