{"repo":"konnokai/DiscordStreamNotifyBot","free":true,"listed":false,"github":"https://github.com/konnokai/DiscordStreamNotifyBot","clone":"git clone https://github.com/konnokai/DiscordStreamNotifyBot.git","description":"直播小幫手","language":"C#","stars":32,"topics":["discord","youtube","vtuber","discord-bot","twitcasting","twitter","twitter-spcae"],"license":"MIT","category":"chat-messaging","readme_excerpt":"直播小幫手 點我邀請到你的 Discord 內 自行運行所需環境與參數 - - .NET 8.0 Runtime 或 SDK (微軟網址) - MySQL Server，用於儲存直播與設定資料 (連線字串請填入 bot config.json 的 MySqlConnectionString ) - Redis Server (Windows 下載網址，Linux 可直接透過 apt 或 yum 安裝) - Discord Bot Token (Discord Dev網址) - Discord Channel WebHook，做紀錄用 - Google Console API 金鑰並確保已於程式庫開啟 Youtube Data API v3 (Google Console網址) - 錄影功能需搭配隔壁 Youtube Stream Record 使用 (如無搭配錄影的話則不會有關台通知，且不能即時的通知開台) \\ - Discord & Google 的 OAuth Client ID 跟 Client Secret，用於 YouTube 會限驗證，需搭配 網站後端 使用 \\ \\ - ApiServerDomain，搭配上面的網站後端做 YouTube 影片上傳接收 & Twitch 狀態更新使用，僅需填寫後端域名就好 (Ex: api.example.me) (Google PubSubHubbub) (Twitch Webhook Callback) - Uptime Kuma Push 監測器的網址，如果不需要上線監測則可為空，需搭配 Uptime Kuma 使用 - ffmpeg, streamlink，原則上不裝的話就只是不會錄影 (裝完記得確認 PATH 環境變數是否有設定正確的路徑) - Twitch App Client Id & Client Secret (Twitch Develpers) \\ \\ - TwitCasting Client Id & Client Secret (TwitCasting Develpers) \\ \\ 備註 - 請使用 Release 組態進行編譯，Debug 組態有忽略掉不少東西會導致功能出現異常等錯誤 如需要自行改程式碼也記得確認 Debug 組態下的 #if 是否會導致偵錯問題 網頁管理設定中心的跨專案契約與實作邊界見 docs/WEB ADMIN SETTINGS PLAN.md。 \\ 未錄影的話則是固定在排定開台時間的前一分鐘通知，若有開啟錄影則會在錄影環境偵測到開始錄影時一併發送開台通知 \\ \\ 未設定的話則僅該功能無法使用，在使用該功能的時會有錯誤提示 建置 & 測試環境 - - Visual Studio 2026 - .NET SDK 8.0 - Windows 11 Pro - Debian 13 - MariaDB 10.11 - Redis 8.4.0 參考專案 - - NadekoBot - LivestreamRecorderService - Discord .NET - TwitchLib - twspace-crawler - 其餘參考附於程式碼內 授權 - - 此專案採用 MIT 授權 License","default_branch":null,"files":null,"tree":[],"storefront":"/r/konnokai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/konnokai/DiscordStreamNotifyBot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}