Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stoakes/slackbot
A Slack bot architecture prototype
https://github.com/stoakes/slackbot
Last synced: about 2 hours ago
JSON representation
A Slack bot architecture prototype
- Host: GitHub
- URL: https://github.com/stoakes/slackbot
- Owner: Stoakes
- Created: 2020-03-01T10:32:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:38:53.000Z (over 1 year ago)
- Last Synced: 2024-11-09T16:48:17.411Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slackbot
This project is a small prototype of a python Slackbot, architectured to easily add new instructions.
Adding a new command is as simple as:
* Adding a new folder in `internal/cmd`
* Registering the command in CommandsRegistryOn a new message, slack bot will check a few parameters, match the message with registered commands' regex and then answer with an intent message: a message describing what the bot is going to do.
User can then approve the intent by adding a tick reaction to the message.This 2 steps procedure helps reducing mistakes in case of overlapping regex.