Added Nightbot integration. Changed from client credentials flow to implicit code grant flow.
This commit is contained in:
4
User.cs
4
User.cs
@@ -1,6 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.RegularExpressions;
|
||||
using HermesSocketLibrary.Requests.Messages;
|
||||
using HermesSocketLibrary.Socket.Data;
|
||||
using TwitchChatTTS.Twitch.Socket.Handlers;
|
||||
|
||||
namespace TwitchChatTTS
|
||||
@@ -15,6 +16,9 @@ namespace TwitchChatTTS
|
||||
public string SevenEmoteSetId { get; set; }
|
||||
public long? OwnerId { get; set; }
|
||||
|
||||
public Connection? TwitchConnection { get; set; }
|
||||
public Connection? NightbotConnection { get; set; }
|
||||
|
||||
public string DefaultTTSVoice { get; set; }
|
||||
// voice id -> voice name
|
||||
public IDictionary<string, string> VoicesAvailable { get => _voicesAvailable; set { _voicesAvailable = value; VoiceNameRegex = GenerateEnabledVoicesRegex(); } }
|
||||
|
||||
Reference in New Issue
Block a user