Browse Source

Fixed overlooked code error.

pull/1807/head
PoofyFox 4 years ago
parent
commit
ec3bba602a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      samples/03_sharded_client/Modules/PublicModule.cs

+ 1
- 1
samples/03_sharded_client/Modules/PublicModule.cs View File

@@ -9,7 +9,7 @@ namespace _03_sharded_client.Modules
[Command("info")] [Command("info")]
public async Task InfoAsync() public async Task InfoAsync()
{ {
var msg = $@"Hi {Context.User}! There are currently {Context.Client.Shards} shards!
var msg = $@"Hi {Context.User}! There are currently {Context.Client.Shards.Count} shards!
This guild is being served by shard number {Context.Client.GetShardFor(Context.Guild).ShardId}"; This guild is being served by shard number {Context.Client.GetShardFor(Context.Guild).ShardId}";
await ReplyAsync(msg); await ReplyAsync(msg);
} }


Loading…
Cancel
Save