Class BaseKuracordClient
Inheritance
BaseKuracordClient
Assembly: KSharpPlus.dll
Syntax
public abstract class BaseKuracordClient : IDisposable
Constructors
|
Improve this Doc
View Source
BaseKuracordClient(KuracordConfiguration)
Declaration
protected BaseKuracordClient(KuracordConfiguration config)
Parameters
Properties
|
Improve this Doc
View Source
ApiClient
Declaration
protected KuracordApiClient ApiClient { get; }
Property Value
|
Improve this Doc
View Source
Configuration
Declaration
protected KuracordConfiguration Configuration { get; }
Property Value
|
Improve this Doc
View Source
CurrentUser
Declaration
public KuracordUser CurrentUser { get; }
Property Value
|
Improve this Doc
View Source
Guilds
Gets the cached guilds for this client.
Declaration
public abstract IReadOnlyDictionary<ulong, KuracordGuild> Guilds { get; }
Property Value
|
Improve this Doc
View Source
Logger
Gets the instance of the logger for this client.
Declaration
public ILogger<BaseKuracordClient> Logger { get; }
Property Value
|
Improve this Doc
View Source
UserCache
Gets the cached users for this client.
Declaration
protected ConcurrentDictionary<ulong, KuracordUser> UserCache { get; }
Property Value
|
Improve this Doc
View Source
VersionString
Gets the string representing the version of K#+.
Declaration
public string VersionString { get; }
Property Value
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