HappyGroupHub / Discord-Line-Message-Sync

一個將Discord與Line訊息同步的聊天機器人 目前支援:文字/圖片/影片/語音訊息 (A bot that synchronize messages between Discord and Line. Supported text/image/video/audio messages)
MIT License
47 stars 12 forks source link

獲取 Line group ID 問題 #3

Closed tear670103 closed 1 year ago

tear670103 commented 1 year ago

我照著做到獲取 Line group ID那 channel_access_token、channel_secret都填了 也運行 run.bat了 然後在想要同步的群組內傳送 !ID line bot回我 Thanks for your message!

Unfortunately, this account isn't set up to reply directly to messages. Stay tuned for our next message (moon smile)

我做錯了哪裡了嗎?

HappyGroupHub commented 1 year ago

嗨! 根據你的問題我想你可能走錯repo了! 你詢問的問題應該是在此專案 Discord Line 訊息同步機器人

此專案-以太坊錢包交易通知機器人不會使用到Line bot進行通知 而是使用Line Notify進行通知服務

如果確定是回報錯專案的話可以留言跟我說一聲 我會將此回報轉至該專案並在那裡一併回覆你!

tear670103 commented 1 year ago

抱歉,我走錯了

HappyGroupHub commented 1 year ago

這個問題會發生好像是因為沒有關掉Line bot預設的自動回覆功能 你可以到Line Developers調整這個設定 選擇你的bot之後點進Messaging API, 往下滑到 LINE Official Account features 找到Auto-reply messages後點擊Edit進行關閉

如圖: 圖片

tear670103 commented 1 year ago

也沒辦法 LINE BOT沒回訊息

HappyGroupHub commented 1 year ago

理解 那你應該是沒有執行到這兩個步驟

我README.md教學的排序可能有問題讓你沒意識到 你要完成這兩個設定後,使用run.bat後才可使用!

tear670103 commented 1 year ago

在 使用Ngrok以符合HTTPS協議 那邊時 Fowarding 所生成的URL 用瀏覽器進去會顯示錯誤

ERR_NGROK_8012 Traffic was successfully tunneled to the ngrok agent, but the agent failed to establish a connection to the upstream web service at localhost:5000. The error encountered was: dial tcp [::1]:5000: connectex: No connection could be made because the target machine actively refused it.

之後在 設定Line Webhook 那邊時 Webhook URL設 <Fowarding 所生成的URL>/calback 按verify會顯示 A timeout occurred when sending a webhook event objec


不知為何 又按一次 就成功了

HappyGroupHub commented 1 year ago

所以目前是成功的嗎(?

tear670103 commented 1 year ago

是的,謝謝

HappyGroupHub commented 1 year ago

太好了! 那祝您使用愉快~ 有任何問題一樣都可以在這裡發問告訴我喔~ (或有任何想要我更新的也行哈哈 你們的使用是我持續製作此專案的動力!