2022-06-18 20:25:21 -04:00
|
|
|
import constants from "../constants";
|
2019-11-16 12:24:03 -05:00
|
|
|
import socket from "../socket";
|
2019-07-02 12:02:02 -04:00
|
|
|
|
2020-03-21 16:55:36 -04:00
|
|
|
socket.on("commands", function (commands) {
|
2019-07-02 12:02:02 -04:00
|
|
|
if (commands) {
|
2021-11-15 16:57:20 -05:00
|
|
|
constants.commands = commands;
|
2019-07-02 12:02:02 -04:00
|
|
|
}
|
|
|
|
});
|