thelounge/client/js/socket-events/commands.js

9 lines
171 B
JavaScript
Raw Normal View History

2019-11-16 17:24:03 +00:00
import constants from "../constants";
import socket from "../socket";
2019-07-02 16:02:02 +00:00
socket.on("commands", function(commands) {
if (commands) {
constants.commands = commands;
}
});