GithubHelp home page GithubHelp logo

teams-slack-bot's Introduction

Teams slack bot

The slack bot preprocess commands from slack chat and constructs requests to the Teams microservice. And also construct successful/unsuccessful responses to the slack chat.

doc

**For test slackbot on real remote server with real slack Team

  1. Fill properties file (teams.baseURL,slack.slashCommandToken)
  2. Build application with Gradle
  3. Copy \build\libs\teams-slack-bot.jar to remote server
  4. For manual testing you can use FakeUserRepository that containes filled map with slacknames (e.g. @a, ... @z). To switch on the fake repository instead of real UserRepository run jar file with following command:

java -jar -Dspring.profiles.active=test teams-slack-bot.jar

  1. Create your slack Team
  2. Create your slack app, add slash command (https://api.slack.com/apps) for example command: /teams-activate request url: http://yourserver:port/v1/commands/teams/activate
  3. Test with your real slack

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.