Ghastly
Extends:
* → Ghastly
The Ghastly client.
Constructor Summary
Public Constructor | ||
public |
constructor(options: ClientOptions) Constructor. |
Member Summary
Public Members | ||
public |
The command registry for the client. |
|
public |
The client's service container. |
Private Members | ||
private |
dispatcher: Dispatcher The client's dispatcher. |
Public Constructors
public constructor(options: ClientOptions) source
Constructor.
Params:
Name | Type | Attribute | Description |
options | ClientOptions | The options for the client. |
|
options.prefix | PrefixType | The prefix for the client's dispatcher.
If a function is provided, it is given a received |
Throw:
Thrown if any option is of the wrong type. |