Skip to content

satoryu/dajare-slack-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dajare Slack App

This is a Slack App for Dajare (Japanese puns)! You can get a random Dajare by using the command /dajare.

Setup Slack App

Configure the Slack App settings like manifest.json.

Development

Note

  • 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. 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.

Requirements

  • Python 3.6+
  • Slack Workspace

Setup

git clone https://github.com/satoryu/dajare-slack-app.git
cd dajare-slack-app

Install dependencies

python -m venv .venv
source .venv/bin/activate

Set up environment variables

If 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_token

Run the app

python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages