Skip to content

Commit f791b65

Browse files
fix(types): correct types for userContextCommandBuilderType and messageContextCommandBuilderType
1 parent ec3c584 commit f791b65

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "discord.https",
3-
"version": "3.0.9",
3+
"version": "3.0.10",
44
"description": "Discord.https is a modular library for building and managing Discord HTTP interactions with the Discord API. It provides tools for routing and managing interaction efficiently.",
55
"main": "./dist/index.js",
66
"type": "module",

src/interactionRouter/internal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ export type CommandbuilderType = (
215215

216216
export type userContextCommandBuilderType = (
217217
builder: ReturnType<typeof userContextCommandBuilder>
218-
) => SlashCommandBuilder;
218+
) => ContextMenuCommandBuilder;
219219

220220
export type messageContextCommandBuilderType = (
221221
builder: ReturnType<typeof messageContextCommandBuilder>
222-
) => SlashCommandBuilder;
222+
) => ContextMenuCommandBuilder;
223223

224224
export type CommandDefinitionType =
225225
| RESTPostAPIContextMenuApplicationCommandsJSONBody

0 commit comments

Comments
 (0)