Client
Extends DJSClient
The main hub for interacting with the DJSeed.
Constructor
new Client(token, options);
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
|---|---|---|---|---|
| token | string | ❌ | undefined | Discord API Token. |
| options | ClientOptions | ❌ | undefined | Client Options. Current No Different From DJSClientOptions. |
Properties
_token READONLY
Client Discord API token.
Type: string
_options READONLY
Client options object.
Type: ClientOptions
cluster READONLY
Client cluster partial.
danger
Will only be defined if using ClusterUtil!
Type: ClusterPartial | undefined
Methods
login OVERRIDE
Method that overrides DJSClient#login. A token does NOT need to be passed as a parameter, as it is passed in Client#contructor.
login();