Skip to content

Commit

Permalink
fix: menu commands are not slash commands
Browse files Browse the repository at this point in the history
remove the slash
  • Loading branch information
zapteryx committed Jun 14, 2024
1 parent 952dbd3 commit 01c3f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InternalHandlers/InteractionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function InteractionHandler({
: ''
}`;
} else if (interaction.isContextMenuCommand()) {
details = `${interaction.constructor.name} /${interaction.commandName}`;
details = `${interaction.constructor.name} ${interaction.commandName}`;
} else if (!interaction.isAutocomplete()) {
details = `${interaction.constructor.name} ${interaction.customId}`;
}
Expand Down

0 comments on commit 01c3f32

Please sign in to comment.