Exemplo n.º 1
0
    def __init__(self, config):
        self.config = config

        self.bitstamp = BitstampWatcher(
            triggervolume=self.config['volume_alert_threshold'])
        self.channels = list()
        self.broadcast_to_channels = list()
        #self.broadcast_to_users = list()
        self.responder = botresponder.BotResponder(self.config, self.bitstamp)
Exemplo n.º 2
0
 def __init__(self, config):
     self.config = config
     self.watcher = BitstampWatcher()
     self.watcher.add_alert_callback(self.out)
     self.responder = BotResponder(self.config, self.watcher)