Skip to content

dguise/guibot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guibot

Slack bot.

Development

Prerequisites

  • Install Node.js

  • All commands assumes your command prompt's working directory is in the root of the project.

  • For testing; port forward a path to your computer (requires a change in Slack Administrative UI as well, so that Slack posts requests to your IP instead of production server)

Setting up

npm install

Building

npm run build

Starting the server

npm run server

Building and starting server

npm start

Releasing

See Tentacl - tldr: push a tag with a semantic versioning version tag: v1.0.2 triggers a build of selected magnitude (in this project we need major releases every release)

Slack administrative setup

This is only done once, to set up the bot in the Slack UI.

Create app & bot user

Complete Slack Event Challenge

https://api.slack.com/apps/your_id/event-subscriptions?

... And add the events you want to listen to (this has to be done for every new event you'd like to listen to)

Add permissions / scope

https://api.slack.com/apps/your_id/oauth

Make sure it has the Scopes your events require.

Install App in workspace

https://api.slack.com/apps/your_id/oauth

... You should now get requests when your event is triggered

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors