Skip to content

Commit

Permalink
Fix incorrect hook injection for message context commands (#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment authored Dec 22, 2023
1 parent c9e21ae commit e584c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected Message parse(DataObject interaction, DataObject resolved)
throw new IllegalStateException("Cannot find guild for resolved message object.");
}

return api.getEntityBuilder().createMessageWithLookup(message, guild, false).withHook(getHook());
return api.getEntityBuilder().createMessageWithLookup(message, guild, false);
}

@Override
Expand Down

0 comments on commit e584c7c

Please sign in to comment.