fix further naming

related to df94601816693e22e7ae44506fd0fe04a3bdabb5
This commit is contained in:
tueem 2024-10-29 15:42:22 +01:00
parent ae7e66d06d
commit 19bf9d24bc
No known key found for this signature in database
GPG Key ID: 819A0F7C36B9CF07

@ -37,7 +37,7 @@ public class InteractionRegistry {
execDefs.forEach((def) -> {
Optional<SlashCommandDefinition> appDef = defs.stream()
.filter((x) -> x.getApplicationCommand().equals(def.applicationCommand()))
.filter((x) -> x.getSlashCommand().equals(def.applicationCommand()))
.findFirst();
if (appDef.isPresent())
appDef.get().addExecutableCommand(def);