Slack Bolt Router
Project description
slack-bolt-router
Description
The slack-bolt-router package it is a helper utility that can collect and add routes for the Slack Application.
Current compatible slack-bolt version is 1.10.0.
NOTE: This package may be affected by major updates to the Slack-bolt library, and may not contain additional routes from a future release.
Usage
Install from pip:
python3 -m pip install slack-bolt-router
Import router to file with your handler functions:
from slack_bolt_router import Router
Start to use routers in your bot application:
router = Router()
@router.register(type="view")
def example_submit(ack):
ack()
router.apply_to(app)
Contribution
- Clone repo
- Run
poetry install
- Make some changes and commit to new branch
- Create pull request and add some information about changes in PR
- Add project author to PR Reviewers
Author
You can sponsorship this project by links in github repo.
Author personal website: https://hoid.dev
(c) Dmytro Hoi code@dmytrohoi.com, 2021 | MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for slack_bolt_router-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ed625150126051298a319db1f5e4406386f6deac14b616ddf4afa13654c10c |
|
MD5 | 3a5c65b41fb7b8273d622f1e8c3d0103 |
|
BLAKE2b-256 | 04ce63acc63c1c788a0b68b247b104ada034af7f98f586e3cbf9c03b78a22fb9 |