Giter Site home page Giter Site logo

sabot's Introduction

SA Bot

Jeff Vestal

A bot that saves slack messages when an emoji is triggered Also provides search of saved messages, and app search engines Maybe some other stuff at some point

Help Output

Hi There!, I know how to do the following:

Saving Slack Messages

When you see a message in Slack you think is useful, helpful, or worth saving for easy retrieval in the future: Tag any message with the :sa-save: reaction

You will get sent back a message asking for your help tagging the message, to make it easier to find in the future

Commands I understand

help - You are reding this now

search [search terms] - Search for previously saved Slack Messages

docs [search terms] - Search Elastic Docs

search advanced - Bring up the advanced search form

listtags - List tags of previously saved Slack messages

Example Usage

Tagging a message

When you tag a message with sabot response

  1. @sabot will also use the same response to ack it
  2. you will get a popup, only visable to you, asking to help categorize the message

CleanShot 2022-08-31 at 13 42 32@2x

  1. Second level categorization popup

CleanShot 2022-08-31 at 13 42 45@2x

CleanShot 2022-08-31 at 13 42 59@2x

Searching

The easiest way to search is with @sabot search <search terms>

This will search previously searched slack messages, Elastic Docs, and Elastic Blogs.

You can search any of those individually with the specific command slack, docs, or blogs followed by the search terms

CleanShot 2022-08-31 at 13 44 53@2x

CleanShot 2022-08-31 at 13 45 23@2x

CleanShot 2022-08-31 at 13 45 36@2x

Example video

sabot-usage-example.mp4

Environment Variables that must be set

  • "sabot_cloud_id": <ess_cloud_id>
  • "sabot_cloud_es_user": "<ess_user>"
  • "sabot_cloud_es_pass": "<ess_user_password>"
  • "discourse_user": "<discourse_user>"
  • "discourse_api": "<discourse_bot_api>"
  • "discourse_server": "<discourse_url>
  • "SLACK_APP_TOKEN": "<slack_app_token>"
  • "SLACK_BOT_TOKEN": "<slack_bot_token>"
  • "sabot_appsearch_api": "<ess_app_search_api>"
  • "sabot_appsearch_url": "<ess_app_search_url>"
  • "ELASTIC_APM_SECRET_TOKEN": "<ess_apm_token>"
  • "ELASTIC_APM_SERVICE_NAME": "<ess_app_name>"
  • "ELASTIC_APM_SERVER_URL": "<_ess_apm_server_url>"

sabot's People

Contributors

jeffvestal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.