Skip to content

shinjuku-lt/timetable-bot

Repository files navigation

timetable-bot

using howdyai/botkit.

timetable-bot

License

Getting Started

Setting <BOT_TOKEN>

export BOT_TOKEN = 'XXX'

Use of direnv is recommended.

Usage

Run bot process (development)

npm run start-development

Development

architecture

required

npm run format

Command

  • development: @ mention style
  • production: / command style

add your talk

@bot lt_add_talk test 10

delete my talk

@bot lt_delete_talk

show(generate) timetable

@bot lt_show_timetable 15:00

reschedule timetable

@bot lt_reschedule_timetable 10

clear timetable

@bot lt_clear_timetable

(Option) Pro Tips 👌

Build docker image

docker build -t timetable-bot .

Docker run

docker run -it --name timetable-bot timetable-bot:latest

Deploy

required

export SLACK_CLIENT_ID = 'XXX'
export SLACK_CLIENT_SECRET = 'XXX'

option

# default 3000
export PORT = '8000'

Deploy

Special Thanks 💚

design logo image (Created by @mutsumi0827)

About

SlackBot to generate lt-timetable 🏭

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •