diff --git a/src/Discord.Net/DiscordSocketClient.Events.cs b/src/Discord.Net/DiscordSocketClient.Events.cs index 2a16f7b65..b4d4db47d 100644 --- a/src/Discord.Net/DiscordSocketClient.Events.cs +++ b/src/Discord.Net/DiscordSocketClient.Events.cs @@ -116,12 +116,12 @@ namespace Discord remove { _guildUnavailableEvent.Remove(value); } } private AsyncEvent> _guildUnavailableEvent = new AsyncEvent>(); - public event Func GuildDownloadedMembers + public event Func GuildMembersDownloaded { - add { _guildDownloadedMembersEvent.Add(value); } - remove { _guildDownloadedMembersEvent.Remove(value); } + add { _guildMembersDownloadedEvent.Add(value); } + remove { _guildMembersDownloadedEvent.Remove(value); } } - private AsyncEvent> _guildDownloadedMembersEvent = new AsyncEvent>(); + private AsyncEvent> _guildMembersDownloadedEvent = new AsyncEvent>(); public event Func GuildUpdated { add { _guildUpdatedEvent.Add(value); } diff --git a/src/Discord.Net/DiscordSocketClient.cs b/src/Discord.Net/DiscordSocketClient.cs index 272ea5444..545ebcf20 100644 --- a/src/Discord.Net/DiscordSocketClient.cs +++ b/src/Discord.Net/DiscordSocketClient.cs @@ -765,7 +765,7 @@ namespace Discord if (guild.DownloadedMemberCount >= guild.MemberCount) //Finished downloading for there { guild.CompleteDownloadMembers(); - await _guildDownloadedMembersEvent.InvokeAsync(guild).ConfigureAwait(false); + await _guildMembersDownloadedEvent.InvokeAsync(guild).ConfigureAwait(false); } } else