diff --git a/ProtocolInterfaces/TwitchInterface/TwitchConfig.cs b/ProtocolInterfaces/TwitchInterface/TwitchConfig.cs index 84f6d32..7d5ece5 100644 --- a/ProtocolInterfaces/TwitchInterface/TwitchConfig.cs +++ b/ProtocolInterfaces/TwitchInterface/TwitchConfig.cs @@ -3,7 +3,5 @@ namespace vassago.TwitchInterface; public class TwitchConfig { public string username {get; set;} - public string clientId {get; set;} - public string secret {get; set;} public string oauth {get; set;} -} \ No newline at end of file +} diff --git a/ProtocolInterfaces/TwitchInterface/TwitchInterface.cs b/ProtocolInterfaces/TwitchInterface/TwitchInterface.cs index 7dc8c5a..191b5b3 100644 --- a/ProtocolInterfaces/TwitchInterface/TwitchInterface.cs +++ b/ProtocolInterfaces/TwitchInterface/TwitchInterface.cs @@ -121,8 +121,9 @@ public class TwitchInterface : ProtocolInterface selfAccountInProtocol = UpsertAccount(e.BotUsername, protocolAsChannel); selfAccountInProtocol.DisplayName = e.BotUsername; Behaver.Instance.MarkSelf(selfAccountInProtocol); - Console.WriteLine($"Connected to {e.AutoJoinChannel}"); + + AttemptJoin(e.BotUsername); } private void Client_OnJoinedChannel(object sender, OnJoinedChannelArgs e)