public CompanionAppHandler(DiscordSocketClient Client) { _client = Client; _audioBridge = new AudioBridge(); _server = new SimpleTcpServer(); _server.Delimiter = 0x13; _server.StringEncoder = Encoding.UTF8; _server.DataReceived += DataReceivedAsync; _server.ClientConnected += ClientConnected; Start(); }
public Audio() { _audioService = new AudioService(); _messageService = new MessageService(); _audioBridge = new AudioBridge(); }