Search Results for

    Show / Hide Table of Contents

    Class BaseKuracordClient

    Inheritance
    Object
    BaseKuracordClient
    KuracordClient
    Namespace: KSharpPlus.Clients
    Assembly: KSharpPlus.dll
    Syntax
    public abstract class BaseKuracordClient : IDisposable

    Constructors

    | Improve this Doc View Source

    BaseKuracordClient(KuracordConfiguration)

    Declaration
    protected BaseKuracordClient(KuracordConfiguration config)
    Parameters
    Type Name Description
    KuracordConfiguration config

    Properties

    | Improve this Doc View Source

    ApiClient

    Declaration
    protected KuracordApiClient ApiClient { get; }
    Property Value
    Type Description
    KuracordApiClient
    | Improve this Doc View Source

    Configuration

    Declaration
    protected KuracordConfiguration Configuration { get; }
    Property Value
    Type Description
    KuracordConfiguration
    | Improve this Doc View Source

    CurrentUser

    Gets the current user.

    Declaration
    public KuracordUser CurrentUser { get; }
    Property Value
    Type Description
    KuracordUser
    | Improve this Doc View Source

    Guilds

    Gets the cached guilds for this client.

    Declaration
    public abstract IReadOnlyDictionary<ulong, KuracordGuild> Guilds { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<UInt64, KuracordGuild>
    | Improve this Doc View Source

    Logger

    Gets the instance of the logger for this client.

    Declaration
    public ILogger<BaseKuracordClient> Logger { get; }
    Property Value
    Type Description
    ILogger<BaseKuracordClient>
    | Improve this Doc View Source

    UserCache

    Gets the cached users for this client.

    Declaration
    protected ConcurrentDictionary<ulong, KuracordUser> UserCache { get; }
    Property Value
    Type Description
    ConcurrentDictionary<UInt64, KuracordUser>
    | Improve this Doc View Source

    VersionString

    Gets the string representing the version of K#+.

    Declaration
    public string VersionString { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public abstract void Dispose()
    | Improve this Doc View Source

    InitializeAsync()

    Initializes this client. This method fetches information about current user, application, and voice regions.

    Declaration
    public virtual async Task InitializeAsync()
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 KSharpPlus Contributors