UNPKG

guilded.ts

Version:

A powerful NPM module that allows you to easily interact with the Guilded API.

10 lines 430 B
import { WSEvents } from 'guilded-api-typings'; import { Client } from '../structures/Client'; /** * Handle a Websocket event. * @param client The client the Websocket belongs to. * @param event The name of the event. * @param data The data of the event. */ export declare function handleWSEvent(client: Client, event: keyof WSEvents, data: WSEvents[keyof WSEvents]): void | Promise<void>; //# sourceMappingURL=index.d.ts.map