diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index f9fa2b9..f7ab8b2 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -111,6 +111,7 @@ class Client { "LE": (args) => this.handleLE(args), "EM": (args) => this.handleEM(args), "SM": (args) => this.handleSM(args), + "BD": (args) => this.handleBD(args), "music": (args) => this.handlemusic(args), "DONE": (args) => this.handleDONE(args), "BN": (args) => this.handleBN(args), @@ -708,6 +709,14 @@ class Client { } /** + * Handles the banned packet + * @param {Array} args packet arguments + */ + handleBD(args) { + document.getElementById("client_loadingtext").innerHTML = "Banned: " + args[1]; + } + + /** * Handles incoming music information, containing all entries * in the same packet. * @param {Array} args packet arguments |
