def main(**kwargs):
config = _from_argv(irc3.IrcBot, kwargs=kwargs)<EOL>if not '<STR_LIT>' in config:<EOL><INDENT>config['<STR_LIT>'] = []<EOL><DEDENT>message_plug = '<STR_LIT>'<EOL>if not message_plug in config['<STR_LIT>']:<EOL><INDENT>config['<STR_LIT>'].append(message_plug)<EOL><DEDENT>service_name = config.get('<STR_LIT>', '<STR_LIT>')<EOL>connection = config.get('<STR_LIT>', {})<EOL>interface = IrcInterface(service_name, irc_config=config, connection=connection)<EOL>interface.run()<EOL>sys.exit()<EOL>
if not _IRC3_INSTALLED:
    logging.error('vexbot_irc requires `irc3` to be installed. Please install '
                  'using `pip install irc3`')

    sys.exit(1)