using howdyai/botkit.
Setting <BOT_TOKEN>
export BOT_TOKEN = 'XXX'
Use of direnv is recommended.
Run bot process (development)
npm run start-development
required
npm run format
- development:
@
mention style - production:
/
command style
@bot lt_add_talk test 10
@bot lt_delete_talk
@bot lt_show_timetable 15:00
@bot lt_reschedule_timetable 10
@bot lt_clear_timetable
Build docker image
docker build -t timetable-bot .
Docker run
docker run -it --name timetable-bot timetable-bot:latest
required
export SLACK_CLIENT_ID = 'XXX'
export SLACK_CLIENT_SECRET = 'XXX'
option
# default 3000
export PORT = '8000'
design logo image (Created by @mutsumi0827)