Skip to content
Classgatewayv0.7.5

WebhookLog

Base class for a gateway subscriber that delivers its event to a Discord webhook, binding this.core to the gateway Core.

abstract class WebhookLog<
    KeyOfSubscribers extends SubscriptionKey
> extends WebhookLog<KeyOfSubscribers, Core>

Member visibility

Filter class members by access level.

constructor

Instantiates the subscriber with event data and core.

Subscriber(data: AllSubscriptions[KeyOfSubscribers], core: TCore)
Parameter: data

The subscriber event data

Parameter: core

The core framework instance

Inherited from:Subscriber

Showing members with Protected visibility and higher.

KeyOfSubscribers

The subscription key this reporter receives

KeyOfSubscribers extends SubscriptionKey

core

protected readonly core: TCore

Inherited from:Subscriber

throttleKey()

Events sharing this key collapse into one card per minute. Return null to send every event.

protected throttleKey(): string | null

Inherited from:WebhookLog