Skip to content

Commit a8036d7

Browse files
committed
fix: remove useless discord type
1 parent d2b2fc4 commit a8036d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/types/commands.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type {
22
Client,
33
Message,
44
ChatInputCommandInteraction,
5-
CacheType,
65
PermissionsString,
76
User,
87
GuildBasedChannel,
@@ -145,10 +144,10 @@ export type CommandOptions<Slash extends boolean> = Slash extends true
145144

146145
export type MessageOrInteraction =
147146
| Message
148-
| ChatInputCommandInteraction<CacheType>
147+
| ChatInputCommandInteraction
149148

150149
type ExecuteArgument<Slash extends boolean> = Slash extends true
151-
? ChatInputCommandInteraction<CacheType>
150+
? ChatInputCommandInteraction
152151
: Slash extends false
153152
? Message
154153
: MessageOrInteraction

0 commit comments

Comments
 (0)