Example #1
0
        private void TwitchClient_OnJoinedChannel(object sender, OnJoinedChannelArgs e)
        {
            LoggingManager.Log.Info($"Joined channel {e.Channel}.");

            OnChangingChannel(new OnChangingChannel(ChangingChannelState.Finished, e.Channel));

            _JoinedChannel = _TwitchClient.JoinedChannels.First(x => x.Channel.Equals(e.Channel, StringComparison.OrdinalIgnoreCase));
            _TwitchClient.GetChannelModerators(_JoinedChannel);

            GetBetterTTVEmotes();
            GetFrankerFaceZEmotes();
        }
 public async Task GetModerators(string channel)
 {
     await Task.Run(() => _client.GetChannelModerators(channel));
 }
Example #3
0
 private void refreshModerators()
 {
     client.GetChannelModerators(client.GetJoinedChannel(channel));
 }