Search Results for

    Show / Hide Table of Contents

    Class DiscordSocketRestClient

    Inheritance
    Object
    BaseDiscordClient
    DiscordRestClient
    DiscordSocketRestClient
    Implements
    IDiscordClient
    IDisposable
    IAsyncDisposable
    Inherited Members
    DiscordRestClient.CurrentUser
    DiscordRestClient.IsValidHttpInteraction(String, String, String, String)
    DiscordRestClient.IsValidHttpInteraction(String, String, String, Byte[])
    DiscordRestClient.ParseHttpInteractionAsync(String, String, String, String)
    DiscordRestClient.ParseHttpInteractionAsync(String, String, String, Byte[])
    DiscordRestClient.GetApplicationInfoAsync(RequestOptions)
    DiscordRestClient.GetChannelAsync(UInt64, RequestOptions)
    DiscordRestClient.GetPrivateChannelsAsync(RequestOptions)
    DiscordRestClient.GetDMChannelsAsync(RequestOptions)
    DiscordRestClient.GetGroupChannelsAsync(RequestOptions)
    DiscordRestClient.GetConnectionsAsync(RequestOptions)
    DiscordRestClient.GetInviteAsync(String, RequestOptions)
    DiscordRestClient.GetGuildAsync(UInt64, RequestOptions)
    DiscordRestClient.GetGuildAsync(UInt64, Boolean, RequestOptions)
    DiscordRestClient.GetGuildWidgetAsync(UInt64, RequestOptions)
    DiscordRestClient.GetGuildSummariesAsync(RequestOptions)
    DiscordRestClient.GetGuildSummariesAsync(UInt64, Int32, RequestOptions)
    DiscordRestClient.GetGuildsAsync(RequestOptions)
    DiscordRestClient.GetGuildsAsync(Boolean, RequestOptions)
    DiscordRestClient.CreateGuildAsync(String, IVoiceRegion, Stream, RequestOptions)
    DiscordRestClient.GetUserAsync(UInt64, RequestOptions)
    DiscordRestClient.GetGuildUserAsync(UInt64, UInt64, RequestOptions)
    DiscordRestClient.GetVoiceRegionsAsync(RequestOptions)
    DiscordRestClient.GetVoiceRegionAsync(String, RequestOptions)
    DiscordRestClient.GetWebhookAsync(UInt64, RequestOptions)
    DiscordRestClient.CreateGlobalCommand(ApplicationCommandProperties, RequestOptions)
    DiscordRestClient.CreateGuildCommand(ApplicationCommandProperties, UInt64, RequestOptions)
    DiscordRestClient.GetGlobalApplicationCommands(RequestOptions)
    DiscordRestClient.GetGuildApplicationCommands(UInt64, RequestOptions)
    DiscordRestClient.BulkOverwriteGlobalCommands(ApplicationCommandProperties[], RequestOptions)
    DiscordRestClient.BulkOverwriteGuildCommands(ApplicationCommandProperties[], UInt64, RequestOptions)
    DiscordRestClient.BatchEditGuildCommandPermissions(UInt64, IDictionary<UInt64, ApplicationCommandPermission[]>, RequestOptions)
    DiscordRestClient.DeleteAllGlobalCommandsAsync(RequestOptions)
    DiscordRestClient.AddRoleAsync(UInt64, UInt64, UInt64)
    DiscordRestClient.RemoveRoleAsync(UInt64, UInt64, UInt64)
    DiscordRestClient.AddReactionAsync(UInt64, UInt64, IEmote, RequestOptions)
    DiscordRestClient.RemoveReactionAsync(UInt64, UInt64, UInt64, IEmote, RequestOptions)
    DiscordRestClient.RemoveAllReactionsAsync(UInt64, UInt64, RequestOptions)
    DiscordRestClient.RemoveAllReactionsForEmoteAsync(UInt64, UInt64, IEmote, RequestOptions)
    BaseDiscordClient.Log
    BaseDiscordClient.LoggedIn
    BaseDiscordClient.LoggedOut
    BaseDiscordClient.LoginState
    BaseDiscordClient.TokenType
    BaseDiscordClient.Dispose()
    BaseDiscordClient.DisposeAsync()
    BaseDiscordClient.GetRecommendedShardCountAsync(RequestOptions)
    BaseDiscordClient.GetBotGatewayAsync(RequestOptions)
    BaseDiscordClient.IDiscordClient.ConnectionState
    BaseDiscordClient.IDiscordClient.CurrentUser
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class DiscordSocketRestClient : DiscordRestClient, IDiscordClient, IDisposable, IAsyncDisposable

    Methods

    | Improve this Doc View Source

    LoginAsync(TokenType, String, Boolean)

    Declaration
    public Task LoginAsync(TokenType tokenType, string token, bool validateToken = true)
    Parameters
    Type Name Description
    TokenType tokenType
    String token
    Boolean validateToken
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    LogoutAsync()

    Declaration
    public Task LogoutAsync()
    Returns
    Type Description
    Task

    Implements

    IDiscordClient
    IDisposable
    IAsyncDisposable

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.6.0