forked from ChomeNS/chomens-bot-java
forgor
This commit is contained in:
parent
ec10c53d29
commit
000c53a079
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ public class EvalPlugin {
|
|||
socket.on(BRIDGE_PREFIX + function.name, args -> {
|
||||
final EvalFunction.Output output = function.execute(args);
|
||||
|
||||
if (output == null) return;
|
||||
|
||||
socket.emit("functionOutput:" + function.name, output.message, output.parseJSON);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue