Skip to content

Commit

Permalink
fixing guild commands pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
ssMMiles committed Mar 12, 2024
1 parent 39ed522 commit 692f086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/app/handlers/handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export async function _handleInteraction(
?.get(context.commandGuildId)
?.[ApplicationCommandType.ChatInput]?.get(parentName);

if (guildCommand !== undefined && guildCommand.id === context.commandGuildId) {
if (guildCommand !== undefined) {
command = guildCommand;
}
}
Expand Down

0 comments on commit 692f086

Please sign in to comment.