Properties
Readonly
emitter
emitter: TypedEventEmitter<GilEvents> = ...
Readonly
idGenerator
idGenerator: (() => string) = ...
Type declaration
-
- (): string
-
Returns string
Readonly
listeners
listeners: ListenerManager = ...
options
options: GilClientOptions
Readonly
responses
responses: { errorCommand: ((p) => Embed); invalidArguments: ((p) => Embed); noop: (() => string); serverNotPremium: ((p) => Embed); userMissingRole: ((p) => Embed); userNotPremium: ((p) => Embed); } = ...
Type declaration
-
errorCommand: ((p) => Embed)
-
- (p): Embed
-
Parameters
-
p: {
error_id: string;
error_message: string;
support_server?: string;
}
-
error_id: string
-
error_message: string
-
Optional
support_server?: string
-
invalidArguments: ((p) => Embed)
-
- (p): Embed
-
Parameters
-
p: {
extra_info: unknown;
reason_code: string;
}
-
extra_info: unknown
-
reason_code: string
-
noop: (() => string)
-
- (): string
-
Returns string
-
serverNotPremium: ((p) => Embed)
-
userMissingRole: ((p) => Embed)
-
- (p): Embed
-
Parameters
-
p: {
requiredRole: string[];
}
-
userNotPremium: ((p) => Embed)