#!/usr/bin/python3
#
#

""" 
    PADJE 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.line import CLIBot
from padje.utils import error

import logging
import time
import sys
import os

## MAIN 

def main():
    config = boot()
    plugins.load_package("padje.plugs")
    bot = CLIBot(**config)
    bot._state = "once"
    bot.put_some(sys.stdin)
    bot.run()

if __name__ == "__main__": main()
