public static Task MemberJoin(VoiceStateUpdateEventArgs e) { var chn = e.Channel; Logic.Logic lg = Logic.Logic.GetInstanse(); if (!lg.isStarted(e.Guild)) { return(Task.CompletedTask); } if (chn != null) { var _participants = chn.Users.ToList(); for (int i = 0; i < _participants.Count; i++) { if (_participants[i].IsBot == true) { _participants.Remove(_participants[i]); } } lg.updateParticipants(_participants, e.Guild); } return(Task.CompletedTask); }