darrenfoley / Asiago

A Discord bot written in C#
GNU General Public License v3.0
1 stars 0 forks source link

Post about Twitch go live events for selected channels #2

Closed darrenfoley closed 2 months ago

darrenfoley commented 7 months ago

Add the ability to have the bot post in a designated channel in each guild when certain Twitch channels go live. The list of monitored Twitch channels would be per guild as well.

Twitch has support for monitoring such events via either webhooks or websockets. The latter is likely preferable as it avoids the need to expose a public facing webhook callback URL.

https://github.com/TwitchLib/TwitchLib.EventSub.Websockets has a NuGet package available to simplify interacting with Twitch over websockets.

This is also probably going to require adding a database to store information about which Twitch channels to notify in each guild.