#!/usr/bin/python3
#
#

""" 
    OOLIB test bot.

"""

## BOOTSTRAP

import os, sys, warnings
if not os.getcwd() in sys.path: sys.path.insert(0, os.getcwd())
warnings.simplefilter("ignore", UserWarning)

## IMPORTS

from padje import boot, hello, plugins
from padje.drivers.console import ConsoleBot
from padje.utils import error, mainloop

import logging
import time
import sys
import os

## MAIN 

def main():
    hello("PADJE")
    config = boot()
    plugins.load_package("padje.plugs")
    bot = ConsoleBot(**config)
    bot.run()
    sys.stdout.write("\n")
    os._exit(0)

if __name__ == "__main__": main()
