From 56f0f87b6d8f6d7e0572543f83956c2c1db459f8 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 23 Mar 2019 19:15:36 +0100 Subject: b& --- webAO/client.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'webAO/client.js') 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), @@ -707,6 +708,14 @@ class Client { this.serv.send("RD#%"); } + /** + * 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. -- cgit