add wrapper register execution
This commit is contained in:
parent
b562349cae
commit
3e50a065a3
@ -44,6 +44,8 @@ public class InteractionRegistry {
|
|||||||
else
|
else
|
||||||
defs.add(new ApplicationCommandDefinition(def.applicationCommand()).addExecutableCommand(def));
|
defs.add(new ApplicationCommandDefinition(def.applicationCommand()).addExecutableCommand(def));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
defs.forEach(wrapper::registerApplicationCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handle(Object context) {
|
public void handle(Object context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user