Skip to content

Commit

Permalink
Fix command manager refactoring not functioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ShindouMihou committed Apr 23, 2022
1 parent 8326360 commit e55085c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Optional<NexusCommand> acceptEvent(SlashCommandCreateEvent event) {
SlashCommandInteraction interaction = event.getSlashCommandInteraction();

if (getCommandById(interaction.getCommandId()).isPresent()) {
return getCommandById(interaction.getId());
return getCommandById(interaction.getCommandId());
}

if (interaction.getServer().isPresent()) {
Expand Down

0 comments on commit e55085c

Please sign in to comment.