kient / EventBase
Class: EventBase
src/structures/base-event.ts:13
Extends
Extended by
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
_kient | readonly | Kient | - | Base ._kient | src/structures/base.ts:4 |
kickEvent | public | object | The information relating the received event | - | src/structures/base-event.ts:17 |
kickEvent.messageId | public | string | The event's message id | - | src/structures/base-event.ts:21 |
kickEvent.subscriptionId | public | string | The subscription ID associated with the event | - | src/structures/base-event.ts:26 |
kickEvent.timestamp | public | Date | The event's timestamp | - | src/structures/base-event.ts:31 |
Methods
unsubscribe()
ts
unsubscribe(): void
src/structures/base-event.ts:48
The unsubscribes the client from this subscription type using the associated subscription ID in the event
Returns
void