#!/usr/bin/python3
#
#

""" 
    ALLAH test bot. Allah TijdLijn. Before The Gate.

"""

## BOOTSTRAP

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

## IMPORTS

from atl import boot, hello, plugins
from atl.drivers.line import CLIBot
from atl.utils import error

import logging
import time
import sys
import os

## MAIN 

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

if __name__ == "__main__": main()
