Skip to content

Commit

Permalink
Add missing VoiceServerUpdated event (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
NovusTheory authored and foxbot committed Jun 17, 2018
1 parent 890904f commit 48fed06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Discord.Net.WebSocket/DiscordShardedClient.cs
Expand Up @@ -309,6 +309,7 @@ private void RegisterEvents(DiscordSocketClient client, bool isPrimary)
client.UserUpdated += (oldUser, newUser) => _userUpdatedEvent.InvokeAsync(oldUser, newUser);
client.GuildMemberUpdated += (oldUser, newUser) => _guildMemberUpdatedEvent.InvokeAsync(oldUser, newUser);
client.UserVoiceStateUpdated += (user, oldVoiceState, newVoiceState) => _userVoiceStateUpdatedEvent.InvokeAsync(user, oldVoiceState, newVoiceState);
client.VoiceServerUpdated += (server) => _voiceServerUpdatedEvent.InvokeAsync(server);
client.CurrentUserUpdated += (oldUser, newUser) => _selfUpdatedEvent.InvokeAsync(oldUser, newUser);
client.UserIsTyping += (oldUser, newUser) => _userIsTypingEvent.InvokeAsync(oldUser, newUser);
client.RecipientAdded += (user) => _recipientAddedEvent.InvokeAsync(user);
Expand Down

0 comments on commit 48fed06

Please sign in to comment.