Converted main codebase to typescript
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
9
src/interfaces/Event.ts
Normal file
9
src/interfaces/Event.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ClientEvents } from "discord.js"
|
||||
|
||||
export default interface Event {
|
||||
name: string,
|
||||
description: string,
|
||||
type: "event",
|
||||
event: keyof ClientEvents
|
||||
execute(...args: any[]): void
|
||||
}
|
||||
Reference in New Issue
Block a user