diff --git a/src/Discord.Net.WebSocket/DiscordShardedClient.cs b/src/Discord.Net.WebSocket/DiscordShardedClient.cs index fe8d899b3..7ac2b4bd0 100644 --- a/src/Discord.Net.WebSocket/DiscordShardedClient.cs +++ b/src/Discord.Net.WebSocket/DiscordShardedClient.cs @@ -37,6 +37,11 @@ namespace Discord.WebSocket /// public override IReadOnlyCollection VoiceRegions => _shards[0].VoiceRegions; + /// + /// Provides access to a REST-only client with a shared state from this client. + /// + public DiscordSocketRestClient Rest => _shards[0].Rest; + /// Creates a new REST/WebSocket Discord client. public DiscordShardedClient() : this(null, new DiscordSocketConfig()) { } /// Creates a new REST/WebSocket Discord client.