Class BaseExtension
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
Represents base for all DisCatSharp extensions. To implement your own extension, extend this class, and implement its abstract members.
public abstract class BaseExtension
- Inheritance
-
BaseExtension
- Inherited Members
Properties
- Client
Gets the instance of DiscordClient this extension is attached to.
- HasVersionCheckSupport
Gets whether this lib extension supports the built-in version checl.
- PackageId
Gets the package id of this lib extension.
- Repository
Gets the repository of this lib extension.
- RepositoryOwner
Gets the repository owner of this lib extension.
- VersionString
Gets the string representing the version of bot lib extension.
Methods
- Setup(DiscordClient)
Initializes this extension for given DiscordClient instance.