Class BaseExtension
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
Represents base for all DSharpPlus extensions. To implement your own extension, extend this class, and implement its abstract members.
public abstract class BaseExtension
- Inheritance
-
BaseExtension
- Derived
Properties
- Client
Gets the instance of DiscordClient this extension is attached to.
Methods
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- Setup(DiscordClient)
Initializes this extension for given DiscordClient instance.