Browse Source

Removed unnecessary statement;

pull/1473/head
TheKingEagle GitHub 5 years ago
parent
commit
d948360f17
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/Discord.Net.WebSocket/DiscordSocketClient.cs

+ 1
- 4
src/Discord.Net.WebSocket/DiscordSocketClient.cs View File

@@ -627,11 +627,8 @@ namespace Discord.WebSocket
var guild = AddGuild(data, State);
if (guild != null)
{
if (_unavailableGuildCount != 0)
_unavailableGuildCount--;
await GuildAvailableAsync(guild).ConfigureAwait(false);
await TimedInvokeAsync(_joinedGuildEvent, nameof(JoinedGuild), guild).ConfigureAwait(false);
await GuildAvailableAsync(guild).ConfigureAwait(false);
}
else
{


Loading…
Cancel
Save