from aliases import getaliases from jsb.utils.name import stripname from tick import tickloop from threads import start_new_thread, threaded from morphs import inputmorphs, outputmorphs from gatekeeper import GateKeeper from wait import waiter from factory import bot_factory from jsb.lib.threads import threaded from jsb.utils.locking import lock_object, release_object from jsb.utils.url import decode_html_entities from jsb.lib.users import getusers from jsb.imports import gettornado from jsb.lib.sink import mainsink tornado = gettornado() import tornado.ioloop ## basic imports import time import logging import copy import sys import getpass import os import thread import types import threading import Queue import re