private void FindChannel(string channelName) { while (!m_bot.HasValidChannel) { Thread.Sleep(5 * 1000); m_bot.SetChannel(channelName); } OnBotChannelChanged?.Invoke(m_bot.HasValidChannel, channelName); }
private void FindChannel(string channelName) { while (!m_bot.HasValidChannel) { Thread.Sleep(5 * 1000); m_bot.SetChannel(channelName); } OnBotChannelChanged?.Invoke(m_bot.HasValidChannel, channelName); }