feat:linebot

1. change Dockerfile
2. change the way import
This commit is contained in:
2026-03-10 10:25:52 +08:00
parent 065d3d352a
commit c58e35c98d
6 changed files with 34 additions and 17 deletions

View File

@@ -9,8 +9,8 @@ from linebot.v3.messaging import (
)
from linebot.v3.webhooks import MessageEvent, TextMessageContent, FollowEvent
from linebot.v3.exceptions import InvalidSignatureError
from app.config import LINE_CHANNEL_ACCESS_TOKEN, LINE_CHANNEL_SECRET
from app.line.handlers import handle_text, handle_captcha
from config import LINE_CHANNEL_ACCESS_TOKEN, LINE_CHANNEL_SECRET
from line.handlers import handle_text, handle_captcha
router = APIRouter()
configuration = Configuration(access_token=LINE_CHANNEL_ACCESS_TOKEN)