File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/commandkit/src/types Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import type {
77 APIApplicationCommandOption ,
88} from 'discord.js' ;
99import type { CommandKit } from '../CommandKit' ;
10- import type { CommandFileObject } from '../typings' ;
1110
1211export interface CommandProps {
1312 interaction : CommandInteraction ;
@@ -104,7 +103,13 @@ type UserOrMessageCommandData = BaseCommandData & {
104103
105104export type CommandData = ChatInputCommandData | UserOrMessageCommandData ;
106105
107- export type CommandObject = Omit < CommandFileObject , 'run' > ;
106+ export type CommandObject = {
107+ data : CommandData ;
108+ options ?: CommandOptions ;
109+ filePath : string ;
110+ category : string | null ;
111+ [ key : string ] : any ;
112+ } ;
108113
109114export enum ReloadType {
110115 'Developer' = 'dev' ,
You can’t perform that action at this time.
0 commit comments