Twan07 commited on
Commit
a0a397a
·
verified ·
1 Parent(s): e3d0e45

Create types/index.d.ts

Browse files
Files changed (1) hide show
  1. types/index.d.ts +11 -0
types/index.d.ts ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { ChatInputCommandInteraction, Message } from "discord.js";
2
+
3
+ export interface Command {
4
+ data: {
5
+ name: string;
6
+ description: string;
7
+ toJSON: () => any;
8
+ };
9
+ ownersOnly?: boolean;
10
+ execute: (input: ChatInputCommandInteraction | Message, args?: string[]) => Promise<void>;
11
+ }