Skip to content

23prime/gokabot

Repository files navigation

Gokabot for LINE

GitHub Actions Status - core-api GitHub Actions Status - gokabot-demo

What

LINE BOT with Ruby, using line-bot-sdk-ruby.

Usage

Add Gokabot to your friends from the QR code below, and invite to your groups.

QR

Functions

  • Calling

    Send examples Response
    "ごかぼっと", "ごかぼう", "ヒゲ" Random message
  • Anime

    Send examples Response
    "今日", "今日のアニメ", "today" Animes in today
    "昨日", "昨日のアニメ", "yesterday" Animes in yesterday
    "明日", "明日のアニメ", "tomorrow" Animes in tomorrow
    "日曜", "日曜のアニメ", "Sunday" Animes in Sunday
    "今期", "今期のアニメ", "all" Animes in this term
    "来期", "来期のアニメ", "next" Animes in next term
    "おすすめ" Recommended animes in today
    "今期のおすすめ" Recommended animes in this term
  • Weather

    Send examples Response
    "天気", "今日の天気" Today's weather in Default
    "明日の天気" Tomorrrow's weather in Default
    "天気 東京" Today's weather in Tokyo
    "明日の天気 東京" Tomorrow's weather in Tokyo

    Now, Default is Tsukuba.

  • Dictionary

    Send examples Response
    "西郷隆盛ってなに", "西郷隆盛って誰?" Informations of "西郷隆盛" in Wikipedia or pixiv or niconico
  • Nyokki

    Send examples Response
    "1ニョッキ" Start Nyokki Game
  • Omikuji

    Send examples Response
    "おみくじ" Result of Omikuji
  • Others

    See source code.

Development

At local

Build image for local.

$ docker-compose -f docker-compose.local.yml build

Run.

$ docker-compose -f docker-compose.local.yml up

Push to ECR

Build image and push.

$ ./deploy.sh