Skip to content

LINE Messaging APIを使って、数式の計算結果を返します。

License

Notifications You must be signed in to change notification settings

javecs/calc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calc-bot

LINE Messaging APIを使って、数式の計算結果を返します。

Build Status codecov GitHub license

使うもの

Webhook URL

  • LINEのBotに設定するWebhook URLは、サーバーのエンドポイントに/callbackをつけます。
  • 例:サーバーのエンドポイントが、https://calc-bot.xxx.xxx/の場合

デプロイ時のアプリ設定

  • デプロイするときには、src/main/resources/application.ymlにChannelsの情報を設定してください。
line.bot.channelToken: token
line.bot.channelSecret: secret

動作画面

LINE画面