|
@@ -1,4 +1,4 @@ |
|
|
using Discord.Logging; |
|
|
|
|
|
|
|
|
using Discord.Logging; |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Immutable; |
|
|
using System.Collections.Immutable; |
|
@@ -125,6 +125,10 @@ namespace Discord.Rest |
|
|
/// <inheritdoc /> |
|
|
/// <inheritdoc /> |
|
|
public void Dispose() => Dispose(true); |
|
|
public void Dispose() => Dispose(true); |
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc /> |
|
|
|
|
|
public Task<int> GetRecommendedShardCount(RequestOptions options = null) |
|
|
|
|
|
=> ClientHelper.GetRecommendShardCount(this, options); |
|
|
|
|
|
|
|
|
//IDiscordClient |
|
|
//IDiscordClient |
|
|
ConnectionState IDiscordClient.ConnectionState => ConnectionState.Disconnected; |
|
|
ConnectionState IDiscordClient.ConnectionState => ConnectionState.Disconnected; |
|
|
ISelfUser IDiscordClient.CurrentUser => CurrentUser; |
|
|
ISelfUser IDiscordClient.CurrentUser => CurrentUser; |
|
|