快速開始
安裝模組、設定平台憑證,並執行平台對應的手動測試入口。
前置需求
- Go 1.25.0
- 平台憑證
- 語音功能需要
PATH中的ffmpeg - LINE webhook 測試需要公開 HTTPS 反向代理
安裝與驗證
git clone https://github.com/pardnchiu/go-bot.git
cd go-bot
make build
make vet
make test
執行範例
make listen # Telegram long polling
make dc-bot # Discord gateway
make line-listen # LINE webhook server
語音指令使用 GEMINI_API_KEY 或 GOOGLE_API_KEY;cmd/ 是手動契約測試工具,不是 production binary。