small action command(s) fix

This commit is contained in:
D3v1s0m 2024-06-24 16:24:21 +05:30 committed by bridge
parent 91e737bc22
commit c731a35dd3

@ -38,6 +38,7 @@ public class ActionRegistryImpl implements ActionRegistry {
public List<InteractionCommandHandler> getCommands() {
return serializerMap.values().stream()
.filter(type -> type instanceof InteractionActionImpl)
.filter(type -> type instanceof InteractionCommandHandler)
.map(type -> (InteractionCommandHandler) type)
.collect(Collectors.toList());