SHARDWIRE
ReferenceEvent & Data Models

EventSubscription

Reference for `EventSubscription`, exported as part of the public Shardwire surface.

interface exported from src/discord/types.ts.

Summary

Reference for EventSubscription, exported as part of the public Shardwire surface.

Signature

export interface EventSubscription<K extends BotEventName = BotEventName> {
	name: K;
	filter?: EventSubscriptionFilter;
}

Structure

On this page