|
|
@@ -64,7 +64,7 @@ namespace Discord.Rest |
|
|
|
public Task<IReadOnlyCollection<RestConnection>> GetConnectionsAsync(RequestOptions options = null) |
|
|
|
=> ClientHelper.GetConnectionsAsync(this, options); |
|
|
|
|
|
|
|
public Task<RestInviteMetadata> GetInviteAsync(string inviteId, bool withCount = false, RequestOptions options = null) |
|
|
|
public Task<RestInviteMetadata> GetInviteAsync(string inviteId, RequestOptions options = null) |
|
|
|
=> ClientHelper.GetInviteAsync(this, inviteId, options); |
|
|
|
|
|
|
|
public Task<RestGuild> GetGuildAsync(ulong id, RequestOptions options = null) |
|
|
@@ -134,8 +134,8 @@ namespace Discord.Rest |
|
|
|
async Task<IReadOnlyCollection<IConnection>> IDiscordClient.GetConnectionsAsync(RequestOptions options) |
|
|
|
=> await GetConnectionsAsync(options).ConfigureAwait(false); |
|
|
|
|
|
|
|
async Task<IInvite> IDiscordClient.GetInviteAsync(string inviteId, bool withCount, RequestOptions options) |
|
|
|
=> await GetInviteAsync(inviteId, withCount, options).ConfigureAwait(false); |
|
|
|
async Task<IInvite> IDiscordClient.GetInviteAsync(string inviteId, RequestOptions options) |
|
|
|
=> await GetInviteAsync(inviteId, options).ConfigureAwait(false); |
|
|
|
|
|
|
|
/// <inheritdoc /> |
|
|
|
async Task<IGuild> IDiscordClient.GetGuildAsync(ulong id, CacheMode mode, RequestOptions options) |
|
|
|