We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b2fc4 commit a8036d7Copy full SHA for a8036d7
src/types/commands.ts
@@ -2,7 +2,6 @@ import type {
2
Client,
3
Message,
4
ChatInputCommandInteraction,
5
- CacheType,
6
PermissionsString,
7
User,
8
GuildBasedChannel,
@@ -145,10 +144,10 @@ export type CommandOptions<Slash extends boolean> = Slash extends true
145
144
146
export type MessageOrInteraction =
147
| Message
148
- | ChatInputCommandInteraction<CacheType>
+ | ChatInputCommandInteraction
149
150
type ExecuteArgument<Slash extends boolean> = Slash extends true
151
- ? ChatInputCommandInteraction<CacheType>
+ ? ChatInputCommandInteraction
152
: Slash extends false
153
? Message
154
: MessageOrInteraction
0 commit comments