From 31b53609f7f5922e59df4082cd3f2e0677925a53 Mon Sep 17 00:00:00 2001 From: hippoz Date: Tue, 8 Dec 2020 00:27:51 +0200 Subject: [PATCH] not gonna test my commits :trol: --- api/v1/gateway/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' ');