def __init__(self, sessionhandler, uid=None, network=None, channel=None,
                 port=None, mudname=None, client_pwd=None, server_pwd=None):
        self.uid = uid
        self.network = network
        sname, host = network.split(".", 1)
        self.servername = sname.strip()
        self.channel = channel
        self.port = port
        self.mudname = mudname
        self.protocol_version = '2'
        self.client_pwd = client_pwd
        self.server_pwd = server_pwd
        self.bot = None
        self.task_isalive = None
        self.task_keepalive = None
        self.task_prune = None
        self.task_channellist = None
Initialize the bot factory.
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2BotFactory.__init__