Commit 19e271c4 authored by Thomas Levine's avatar Thomas Levine
Browse files


parent d0a90b05
import argparse
from threading import Thread
from plotbot import PlotBot
from reporter import ReporterPlotBot
parser = argparse.ArgumentParser(description='BashBot')
parser.add_argument('--host', default="localhost", help='host')
parser.add_argument('--port', type=int, default=6667, help='port')
parser.add_argument('observechannel', help='channel to join', default = '#2084')
parser.add_argument('plotchannel', help='channel to join', default = '#frontplotbot')
parser.add_argument('plotnickname', help='bot nickname', default = 'RonaldWeexy')
parser.add_argument('reportnickname', help='bot nickname', default = 'Circle')
def main():
args = parser.parse_args()
reporter = ReportPlotBot(args.observechannel, args.plotchannel, args.nickname,, args.port, plotter = plotter)
plot = PlotBot(False, plotter, args.plotchannel, args.nickname,, args.port)
Thread(None, reporter.start)
Thread(None, plot.start)
if __name__ == "__main__":
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