Skip to content

Commit

Permalink
fix(client-support/netcord): Fix invalid shard count reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobreuer committed Feb 25, 2024
1 parent c62b22a commit 09b0e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lavalink4NET.NetCord/DiscordClientWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ await _client.ReadyAsync
.WaitAsync(cancellationToken)
.ConfigureAwait(false);

var shardCount = _client.Shard?.Count ?? 0;
var shardCount = _client.Shard?.Count ?? 1;

return new ClientInformation("NetCord", _client.Id, shardCount);
}
Expand Down

0 comments on commit 09b0e78

Please sign in to comment.