def handle_bot_message(event, server):
    try:
        bot = server.slack.server.bots[event["bot_id"]]
    except __HOLE__:
        logger.debug("bot_message event {0} has no bot".format(event))
        return

    return "\n".join(run_hook(server.hooks, "bot_message", event, server))
dataset/ETHPy150Open serverdensity/sdbot/limbo/handlers/__init__.py/handle_bot_message