public Task <RestChannel> GetChannelAsync(ulong id, RequestOptions options = null) => ClientHelper.GetChannelAsync(this, id, options);
public Task RemoveRoleAsync(ulong guildId, ulong userId, ulong roleId) => ClientHelper.RemoveRoleAsync(this, guildId, userId, roleId);
public async Task <RestApplication> GetApplicationInfoAsync(RequestOptions options = null) { return(_applicationInfo ?? (_applicationInfo = await ClientHelper.GetApplicationInfoAsync(this, options).ConfigureAwait(false))); }
/// <inheritdoc /> public Task <BotGateway> GetBotGatewayAsync(RequestOptions options = null) => ClientHelper.GetBotGatewayAsync(this, options);
public Task <IReadOnlyCollection <RestGuildCommand> > GetGuildApplicationCommands(ulong guildId, RequestOptions options = null) => ClientHelper.GetGuildApplicationCommands(this, guildId, options);
public Task <RestInviteMetadata> GetInviteAsync(string inviteId, RequestOptions options = null) => ClientHelper.GetInviteAsync(this, inviteId, options);
public Task <RestGuild> GetGuildAsync(ulong id, bool withCounts, RequestOptions options = null) => ClientHelper.GetGuildAsync(this, id, withCounts, options);
public Task <RestUser> GetUserAsync(ulong id, RequestOptions options = null) => ClientHelper.GetUserAsync(this, id, options);
public Task <RestGuildUser> GetGuildUserAsync(ulong guildId, ulong id, RequestOptions options = null) => ClientHelper.GetGuildUserAsync(this, guildId, id, options);
public Task <IReadOnlyCollection <RestGuild> > GetGuildsAsync(bool withCounts, RequestOptions options = null) => ClientHelper.GetGuildsAsync(this, withCounts, options);
public Task <RestGuild> CreateGuildAsync(string name, IVoiceRegion region, Stream jpegIcon = null, RequestOptions options = null) => ClientHelper.CreateGuildAsync(this, name, region, jpegIcon, options);
public Task <IReadOnlyCollection <RestGuild> > GetGuildsAsync(RequestOptions options = null) => ClientHelper.GetGuildsAsync(this, false, options);
public IAsyncEnumerable <IReadOnlyCollection <RestUserGuild> > GetGuildSummariesAsync(ulong fromGuildId, int limit, RequestOptions options = null) => ClientHelper.GetGuildSummariesAsync(this, fromGuildId, limit, options);
public IAsyncEnumerable <IReadOnlyCollection <RestUserGuild> > GetGuildSummariesAsync(RequestOptions options = null) => ClientHelper.GetGuildSummariesAsync(this, null, null, options);
public Task <IReadOnlyCollection <RestGroupChannel> > GetGroupChannelsAsync(RequestOptions options = null) => ClientHelper.GetGroupChannelsAsync(this, options);
public Task <RestVoiceRegion> GetVoiceRegionAsync(string id, RequestOptions options = null) => ClientHelper.GetVoiceRegionAsync(this, id, options);
public Task <IReadOnlyCollection <RestConnection> > GetConnectionsAsync(RequestOptions options = null) => ClientHelper.GetConnectionsAsync(this, options);
public Task <RestWebhook> GetWebhookAsync(ulong id, RequestOptions options = null) => ClientHelper.GetWebhookAsync(this, id, options);
public Task <RestGuild> GetGuildAsync(ulong id, RequestOptions options = null) => ClientHelper.GetGuildAsync(this, id, false, options);
public Task <IReadOnlyCollection <RestGlobalCommand> > GetGlobalApplicationCommands(RequestOptions options = null) => ClientHelper.GetGlobalApplicationCommands(this, options);
public Task <RestGuildWidget?> GetGuildWidgetAsync(ulong id, RequestOptions options = null) => ClientHelper.GetGuildWidgetAsync(this, id, options);
/// <inheritdoc /> public Task <int> GetRecommendedShardCountAsync(RequestOptions options = null) => ClientHelper.GetRecommendShardCountAsync(this, options);