Module ImportFrom alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return GeneratorExp SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Import alias TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad body Raise Call NameLoad NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad For NameStore NameLoad body If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign SubscriptStore Call AttributeLoad NameLoad attr Str Dict Index NameLoad NameLoad Assign SubscriptStore Call AttributeLoad NameLoad attr Str Dict Index NameLoad AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad body TryExcept body Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Return Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareEq NameLoad Str body Return If CompareEq NameLoad Str body Return Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Return Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If NameLoad body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Num While BoolOpOr CompareIs NameLoad NameLoad CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad While NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad If CompareGt NameLoad Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Num NameLoad Num If NameLoad body AugAssignSub NameStore Num handlers ExceptHandler type NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Import alias Expr Call AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad Raise Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass FunctionDef arguments args NameParam NameParam defaults body TryExcept body While Num body Assign NameStore Call NameLoad Call NameLoad Str If BoolOpOr CompareEq Call AttributeLoad NameLoad attr Str CompareEq Call AttributeLoad NameLoad attr Str body Return Expr Call NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call NameLoad Pass decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A __future__ print_function N/A copy N/A functools glob glob N/A importlib N/A logging N/A os N/A re N/A sqlite3 N/A sys N/A time N/A traceback slackrtm SlackClient slackrtm.server SlackConnectionError SlackLoginError server LimboServer fakeserver FakeServer N/A CURDIR N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ N/A DIR N/A N/A functools partial N/A N/A os path join CURDIR N/A PYTHON3 N/A N/A N/A sys version_info N/A 0 2 N/A logger N/A N/A logging getLogger __name__ InvalidPluginDir N/A Exception N/A __init__ N/A N/A self plugindir N/A N/A N/A message N/A N/A Unable to find plugin dir {0} format plugindir N/A N/A N/A N/A super InvalidPluginDir self __init__ message N/A N/A init_log N/A N/A config N/A N/A N/A loglevel N/A N/A config get loglevel N/A logging INFO N/A logformat N/A N/A config get logformat %(asctime)s:%(levelname)s:%(name)s:%(message)s N/A N/A N/A config get logfile N/A N/A N/A N/A logging basicConfig filename N/A N/A config get logfile format logformat level loglevel N/A N/A N/A N/A logging basicConfig format logformat level loglevel N/A strip_extension N/A N/A lst N/A N/A N/A N/A N/A N/A N/A N/A os path splitext l N/A 0 N/A l lst N/A init_plugins N/A N/A plugindir plugins_to_load N/A None N/A N/A N/A plugindir N/A N/A N/A N/A os path isdir plugindir N/A N/A N/A InvalidPluginDir plugindir N/A N/A plugindir N/A N/A plugindir N/A DIR plugins N/A N/A N/A logger debug N/A N/A plugindir: {0} format plugindir N/A N/A N/A N/A os path isdir plugindir N/A N/A pluginfiles N/A glob N/A N/A N/A os path join plugindir [!_]*.py N/A plugins N/A strip_extension N/A N/A N/A N/A os path basename p N/A p pluginfiles N/A N/A N/A N/A logger debug trying pkg_resources N/A pkg_resources N/A N/A N/A plugins N/A strip_extension N/A N/A pkg_resources resource_listdir __name__ plugins N/A N/A N/A OSError N/A N/A N/A InvalidPluginDir plugindir N/A hooks N/A N/A oldpath N/A N/A copy deepcopy N/A sys path N/A N/A N/A N/A sys path insert 0 plugindir N/A plugin plugins N/A N/A N/A plugins_to_load N/A plugin plugins_to_load N/A N/A N/A N/A logger debug N/A N/A skipping plugin {0}, not in plugins_to_load {1} format plugin plugins_to_load N/A N/A N/A N/A logger debug N/A N/A plugin: {0} format plugin N/A N/A N/A mod N/A N/A importlib import_module plugin N/A modname N/A mod __name__ N/A hook N/A N/A re findall \bon_(\w+) N/A N/A join N/A dir mod N/A N/A hookfun N/A getattr mod N/A on_ hook N/A N/A N/A logger debug plugin: attaching %s hook for %s hook modname N/A N/A N/A N/A N/A hooks setdefault hook N/A append hookfun N/A N/A mod __doc__ N/A N/A firstline N/A N/A N/A N/A mod __doc__ split N/A 0 N/A N/A N/A N/A hooks setdefault help N/A N/A modname firstline N/A N/A N/A N/A hooks setdefault extendedhelp N/A N/A modname N/A mod __doc__ N/A N/A N/A N/A N/A N/A logger warning N/A N/A import failed on module {0}, module not loaded format plugin N/A N/A N/A logger warning N/A N/A {0} format N/A N/A N/A sys exc_info N/A 0 N/A N/A N/A logger warning N/A N/A {0} format N/A N/A traceback format_exc N/A N/A sys path oldpath N/A hooks N/A run_hook N/A N/A hooks hook N/A args N/A N/A responses N/A N/A hook N/A N/A hooks get hook N/A N/A N/A N/A N/A h N/A hook args N/A h N/A N/A N/A N/A responses append h N/A N/A N/A N/A N/A N/A logger warning N/A N/A Failed to run plugin {0}, module not loaded format hook N/A N/A N/A logger warning N/A N/A {0} format N/A N/A N/A sys exc_info N/A 0 N/A N/A N/A logger warning N/A N/A {0} format N/A N/A traceback format_exc N/A responses N/A handle_bot_message N/A N/A event server N/A N/A N/A N/A N/A bot N/A N/A N/A N/A server slack server bots N/A N/A event N/A bot_id N/A N/A N/A KeyError N/A N/A N/A N/A logger debug N/A N/A bot_message event {0} has no bot format event N/A N/A N/A N/A join N/A run_hook N/A server hooks bot_message event server N/A handle_message N/A N/A event server N/A N/A N/A subtype N/A N/A event get subtype N/A N/A subtype message_changed N/A N/A N/A N/A subtype bot_message N/A N/A N/A handle_bot_message event server N/A N/A N/A msguser N/A N/A N/A N/A server slack server users N/A N/A event N/A user N/A N/A N/A KeyError N/A N/A N/A N/A logger debug N/A N/A event {0} has no user format event N/A N/A N/A N/A join N/A run_hook N/A server hooks message event server N/A N/A event_handlers N/A message handle_message handle_event N/A N/A event server N/A N/A N/A handler N/A N/A event_handlers get N/A N/A event get type N/A handler N/A N/A N/A handler event server N/A getif N/A N/A config name envvar N/A N/A N/A N/A envvar N/A os environ N/A N/A N/A config N/A name N/A N/A N/A os environ get envvar N/A init_config N/A N/A N/A N/A N/A config N/A N/A N/A getif config token SLACK_TOKEN N/A N/A getif config loglevel LIMBO_LOGLEVEL N/A N/A getif config logfile LIMBO_LOGFILE N/A N/A getif config logformat LIMBO_LOGFORMAT N/A N/A getif config plugins LIMBO_PLUGINS N/A config N/A loop N/A N/A server test_loop N/A None N/A N/A Run the main loop

    server is a limbo Server object
    test_loop, if present, is a number of times to run the loop
     N/A N/A N/A loops_without_activity 0 N/A N/A N/A test_loop None N/A test_loop 0 N/A N/A start N/A N/A time time N/A loops_without_activity 1 N/A events N/A N/A N/A server slack rtm_read N/A event events N/A N/A loops_without_activity 0 N/A N/A N/A logger debug N/A N/A got {0} format N/A N/A event get type event N/A response N/A handle_event event server N/A response N/A N/A N/A N/A N/A server slack rtm_send_message N/A event N/A channel N/A response N/A 1000 N/A response N/A response N/A 1000 N/A N/A run_hook N/A server hooks loop server N/A N/A loops_without_activity 5 N/A N/A N/A N/A N/A N/A server slack server ping N/A loops_without_activity 0 N/A end N/A N/A time time N/A runtime N/A start end N/A N/A N/A time sleep N/A max N/A 1 runtime 0 N/A test_loop N/A N/A test_loop 1 N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A os environ get LIMBO_DEBUG N/A N/A ipdb N/A N/A N/A ipdb set_trace N/A N/A relevant_environ N/A N/A N/A N/A N/A N/A dict N/A N/A key N/A N/A os environ N/A key N/A key N/A os environ N/A N/A N/A key startswith SLACK N/A N/A key startswith LIMBO N/A init_server N/A N/A args config Server Client N/A LimboServer SlackClient N/A N/A N/A init_log config N/A N/A N/A logger debug N/A N/A config: {0} format config N/A db N/A init_db N/A args database_name N/A config_plugins N/A N/A config get plugins N/A plugins_to_load N/A config_plugins N/A N/A config_plugins split , N/A N/A hooks N/A init_plugins N/A args pluginpath plugins_to_load N/A N/A N/A slack N/A Client N/A config N/A token N/A N/A N/A KeyError N/A N/A N/A N/A logger error N/A N/A Unable to find a slack token. The environment variables
limbo sees are:
{0}

and the current config is:
{1}

Try setting your bot's slack token with:

export SLACK_TOKEN=<your-slack-bot-token>
 format N/A relevant_environ config N/A N/A server N/A Server slack config hooks db N/A server N/A decode N/A N/A str_ codec N/A utf8 N/A N/A PYTHON3 N/A N/A str_ N/A N/A N/A N/A str_ decode codec N/A encode N/A N/A str_ codec N/A utf8 N/A N/A PYTHON3 N/A N/A str_ N/A N/A N/A N/A str_ encode codec N/A main N/A N/A args N/A N/A N/A config N/A init_config N/A N/A args test N/A N/A N/A init_log config N/A N/A repl N/A FakeServer args N/A N/A N/A N/A args command None N/A N/A N/A init_log config N/A cmd N/A decode N/A args command N/A N/A print N/A run_cmd cmd N/A FakeServer N/A args hook N/A args pluginpath N/A N/A config get plugins N/A N/A server N/A init_server args config N/A N/A N/A N/A N/A N/A server slack rtm_connect N/A N/A run_hook N/A server hooks init server N/A N/A loop server N/A N/A N/A SlackConnectionError N/A N/A N/A N/A logger warn Unable to connect to Slack. Bad network? N/A N/A N/A SlackLoginError N/A N/A N/A N/A logger warn N/A N/A Login Failed, invalid token <{0}>? format N/A config N/A token N/A N/A run_cmd N/A N/A cmd server hook pluginpath plugins_to_load N/A N/A N/A N/A server hooks N/A init_plugins pluginpath plugins_to_load N/A event N/A type text user ts team channel hook cmd 2 N/A N/A time time None repl_channel N/A N/A encode N/A handle_event event server N/A N/A N/A N/A input raw_input N/A N/A N/A NameError N/A N/A repl N/A N/A server args N/A N/A N/A N/A N/A 1 N/A N/A cmd N/A decode N/A input limbo>  N/A N/A N/A N/A N/A cmd lower quit N/A N/A N/A cmd lower exit N/A N/A N/A N/A print N/A run_cmd cmd server N/A args hook N/A args pluginpath None N/A N/A N/A N/A EOFError KeyboardInterrupt N/A N/A N/A print N/A N/A init_db N/A N/A database_file N/A N/A N/A N/A N/A sqlite3 connect database_file N/A