Skip to content

Commit 5872e0f

Browse files
authored
Merge pull request #147 from ex-takashima/feat/line-channel
feat(channels): add LINE Official Account channel support
2 parents ff92973 + 6463796 commit 5872e0f

7 files changed

Lines changed: 655 additions & 21 deletions

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# ── Chat Channel ──────────────────────────
1010
# TELEGRAM_BOT_TOKEN=123456:ABC...
1111
# DISCORD_BOT_TOKEN=xxx
12+
# LINE_CHANNEL_SECRET=xxx
13+
# LINE_CHANNEL_ACCESS_TOKEN=xxx
1214

1315
# ── Web Search (optional) ────────────────
1416
# BRAVE_SEARCH_API_KEY=BSA...

config/config.example.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@
5151
"bot_token": "xoxb-YOUR-BOT-TOKEN",
5252
"app_token": "xapp-YOUR-APP-TOKEN",
5353
"allow_from": []
54+
},
55+
"line": {
56+
"enabled": false,
57+
"channel_secret": "YOUR_LINE_CHANNEL_SECRET",
58+
"channel_access_token": "YOUR_LINE_CHANNEL_ACCESS_TOKEN",
59+
"webhook_host": "0.0.0.0",
60+
"webhook_port": 18791,
61+
"webhook_path": "/webhook/line",
62+
"allow_from": []
5463
}
5564
},
5665
"providers": {

0 commit comments

Comments
 (0)