Commit 45ac2aa5 authored by Thomas Levine's avatar Thomas Levine
Browse files

plotter arg

parent 19e271c4
......@@ -4,10 +4,11 @@ from random import randint
from polar.polar import spiral
class ReportPlotBot(irc.bot.SingleServerIRCBot):
def __init__(self, observechannel, plotchannel, nickname, server, port=6667):
def __init__(self, observechannel, plotchannel, nickname, server, port=6667, plotter = None):
irc.bot.SingleServerIRCBot.__init__(self, [(server, port)], nickname, nickname)
self.observechannel = observechannel
self.plotchannel = plotchannel
self.plotter = plotter
def on_welcome(self, c, e):
print "Bot connected"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment