(config)
this is the primary run loop, should probably catch quits here?
this is the primary run loop, should probably catch quits here?
this is the primary run loop should probably catch quits here?
def main(config):
    """
    this is the primary run loop, should probably catch quits here?
    """
    # TODO: move logging to BotManager, make configurable
    logger = logging.basicConfig(level=logging.DEBUG,
                                 format='%(asctime)-21s %(levelname)s %(name)s (%(funcName)-s) %(process)d:%(thread)d - %(message)s',
                                 filename='lol.log')

    observer = log.PythonLoggingObserver()
    observer.start()

    bot_manager = BotManager(config)
    bot_manager.start()
def main ( config ) : # TODO: move logging to BotManager, make configurable logger = logging . basicConfig ( level = logging . DEBUG , format = '%(asctime)-21s %(levelname)s %(name)s (%(funcName)-s) %(process)d:%(thread)d - %(message)s' , filename = 'lol.log' ) observer = log . PythonLoggingObserver ( ) observer . start ( ) bot_manager = BotManager ( config ) bot_manager . start ( )