UNPKG

darkcord

Version:

A NodeJS Package to interact with Discord API

12 lines 406 B
import { GatewayShard } from "@darkcord/ws"; import { Event } from "./events/Event"; export declare class EventSource { events: Map<string, Event>; gatewayShard: GatewayShard; constructor(); _init(): void; add(event: new (gatewayShard: GatewayShard) => Event): void; get(name: string): any; setGatewayShard(shard: GatewayShard): this; } //# sourceMappingURL=EventSource.d.ts.map