lets-go-gambling/src/interfaces/events.ts
2024-11-19 10:04:13 +01:00

12 lines
252 B
TypeScript

import Bot from "../client";
export interface Event {
name: string;
event: string;
run: RunFunction;
}
export interface RunFunction {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(client: Bot, ...args: any[]): Promise<void>;
}