diff --git a/api/v1/gateway/index.js b/api/v1/gateway/index.js index 258817d..77eba9f 100644 --- a/api/v1/gateway/index.js +++ b/api/v1/gateway/index.js @@ -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(' ');