From: Vincent Le Gallic Date: Tue, 20 Oct 2015 01:10:17 +0000 (+0200) Subject: rename class X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=a9dcefe5319dbe65edb296b68159eb58208c5982;p=bots%2Fbbc.git rename class --- diff --git a/bbc.py b/bbc.py index 79d099c..a5c798f 100755 --- a/bbc.py +++ b/bbc.py @@ -42,7 +42,7 @@ def bot_unicode(chain): 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)], @@ -383,5 +383,5 @@ if __name__ == "__main__": except KeyError: print "Server Unknown : %s" % (serveur) exit(404) - bot = Skeleton(serveur, debug) + bot = Bbc(serveur, debug) bot.start()