This is a Slack App for Dajare (Japanese puns)!
You can get a random Dajare by using the command /dajare.
Configure the Slack App settings like manifest.json.
Note
- This document assumes that you have already created a Slack App and installed it to your workspace, and you have the tokens:
SLACK_BOTandSLACK_APP. If you don't have the tokens, you can get them from the Slack App settings and refer to the official document. - This document assumes that your Slack App works in Socket Mode. If you don't enable Socket Mode, you can refer to the official document.
- Python 3.6+
- Slack Workspace
git clone https://github.com/satoryu/dajare-slack-app.git
cd dajare-slack-apppython -m venv .venv
source .venv/bin/activateIf you don't have a Slack App, you can create it from here.
This document assumes that you have already created a Slack App and installed it to your workspace, and you have the tokens: SLACK_BOT and SLACK_APP.
export SLACK_BOT_TOKEN=your_slack_bot_token
export SLACK_APP_TOKEN=your_slack_app_tokenpython app.py