Skip to content

A SlackBot that runs simple scripts and streams stdout to Slack

License

Notifications You must be signed in to change notification settings

andymotta/slack-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-runner

A SlackBot that runs simple scripts/commands and streams stdout to Slack

  • Can also scheudle text and run shell commands

Setup Notes

Environment variables: Make sure you have set the SLACK_APP_TOKEN and SLACK_BOT_TOKEN environment variables in docker-compose.yml

Verify your Slack App settings: Go to https://api.slack.com/apps and select your app.

Under "OAuth & Permissions", make sure you have the following bot token scopes added:

app_mentions:read
chat:write
chat:write.public
commands
channels:history
users:read

Under "Event Subscriptions", enable events, and subscribe to the app_mention event under "Subscribe to bot events".

Make sure "Socket Mode" is enabled.

Run

docker-compose up --build

About

A SlackBot that runs simple scripts and streams stdout to Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published