Interface BaseOwnerEvent<T, D>

Base shape shared by all SSE events.

interface BaseOwnerEvent<T extends OwnerEventType, D> {
    at: string;
    data: D;
    guildId: string;
    id: string;
    type: T;
}

Type Parameters

Properties

Properties

at: string
data: D
guildId: string
id: string
type: T