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 {
7
7
APIApplicationCommandOption ,
8
8
} from 'discord.js' ;
9
9
import type { CommandKit } from '../CommandKit' ;
10
- import type { CommandFileObject } from '../typings' ;
11
10
12
11
export interface CommandProps {
13
12
interaction : CommandInteraction ;
@@ -104,7 +103,13 @@ type UserOrMessageCommandData = BaseCommandData & {
104
103
105
104
export type CommandData = ChatInputCommandData | UserOrMessageCommandData ;
106
105
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
+ } ;
108
113
109
114
export enum ReloadType {
110
115
'Developer' = 'dev' ,
You can’t perform that action at this time.
0 commit comments