not gonna test my commits :trol:

This commit is contained in:
hippoz 2020-12-08 00:27:51 +02:00
parent e998a26fd0
commit 31b53609f7

View file

@ -44,7 +44,7 @@ GatewayServer.prototype.notifyClientsOfUpdate = function(reason) {
this._gateway.emit('refreshClient', { reason: reason || 'REFRESH' });
};
GatewayServer.prototype._processCommand = function(socket, message) {
GatewayServer.prototype._processCommand = async function(socket, message) {
const content = message.content;
const fullCommandString = content.slice(this._commandPrefix.length, content.length);
const fullCommand = fullCommandString.split(' ');