mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-19 17:03:47 +05:00
fix: fixing typing
This commit is contained in:
parent
d437e2b723
commit
b8cc8d8d30
1 changed files with 3 additions and 3 deletions
|
@ -6,14 +6,14 @@ import { GuildQueueEvents, useMainPlayer } from "discord-player";
|
|||
import { ExtendedClient } from "@/structures/client.js";
|
||||
import { ClientEvents } from "discord.js";
|
||||
|
||||
interface EventHandlerEvents {
|
||||
type EventHandlerEvents = {
|
||||
data: {
|
||||
name: keyof ClientEvents;
|
||||
once?: boolean;
|
||||
player?: boolean;
|
||||
};
|
||||
run: Function;
|
||||
}
|
||||
run: (...args: unknown[]) => void;
|
||||
};
|
||||
|
||||
export class EventHandler {
|
||||
events: EventHandlerEvents[] = [];
|
||||
|
|
Loading…
Reference in a new issue