thelounge/client/js/socket-events/commands.js
2019-11-25 20:13:12 +02:00

8 lines
171 B
JavaScript

import constants from "../constants";
import socket from "../socket";
socket.on("commands", function(commands) {
if (commands) {
constants.commands = commands;
}
});