LINE Bot written in Kotlin/JS and running with Cloud Functions for Firebase.
image | qr |
---|---|
Parrot return. Text only.
- Kotlin v1.3.72
- Gradle v6.3
- dukat v0.0.28
$ ./gradlew clean compileKotlinJs
Running local server.
$ cd build/js/packages/kotlin-js-cloud-function-linebot/ && npx @google-cloud/functions-framework --target=message ; cd -
You'll need a Channel Access Token to try it.
$ ./gradlew clean compileKotlinJs
$ ./gradlew packaging
$ cd functions && gcloud functions deploy message --region asia-northeast1 --trigger-http --runtime nodejs8 --update-env-vars CHANNEL_ACCESS_TOKEN="YOUR TOKEN" && cd -
Copyright (c) 2020 sakebook Licensed under the Apache License.