mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Removed restream URL from Twitch for now
This commit is contained in:
@@ -883,13 +883,13 @@ public class BotServices
|
|||||||
{
|
{
|
||||||
_logger.Info($"BossmanJack stream event came in. isLive => {isLive}");
|
_logger.Info($"BossmanJack stream event came in. isLive => {isLive}");
|
||||||
var settings = SettingsProvider.GetMultipleValuesAsync([
|
var settings = SettingsProvider.GetMultipleValuesAsync([
|
||||||
BuiltIn.Keys.RestreamUrl, BuiltIn.Keys.TwitchBossmanJackUsername, BuiltIn.Keys.CaptureEnabled
|
BuiltIn.Keys.TwitchBossmanJackUsername, BuiltIn.Keys.CaptureEnabled, BuiltIn.Keys.TwitchIcon
|
||||||
]).Result;
|
]).Result;
|
||||||
|
var bmjUsername = settings[BuiltIn.Keys.TwitchBossmanJackUsername].Value;
|
||||||
|
|
||||||
if (isLive)
|
if (isLive)
|
||||||
{
|
{
|
||||||
_chatBot.SendChatMessage($"{settings[BuiltIn.Keys.TwitchBossmanJackUsername].Value} just went live on Twitch! https://www.twitch.tv/{settings[BuiltIn.Keys.TwitchBossmanJackUsername].Value}\r\n" +
|
_chatBot.SendChatMessage($"[img]{settings[BuiltIn.Keys.TwitchIcon].Value}[/img] {bmjUsername} just went [b]LIVE[/b] on Twitch! https://www.twitch.tv/{bmjUsername} 🚨🚨", true);
|
||||||
settings[BuiltIn.Keys.RestreamUrl].Value, true);
|
|
||||||
IsBmjLive = true;
|
IsBmjLive = true;
|
||||||
if (settings[BuiltIn.Keys.CaptureEnabled].ToBoolean())
|
if (settings[BuiltIn.Keys.CaptureEnabled].ToBoolean())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user