diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-03-23 19:15:36 +0100 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-03-23 19:15:36 +0100 |
| commit | 56f0f87b6d8f6d7e0572543f83956c2c1db459f8 (patch) | |
| tree | 1699b6878ee0efa9069c9138e0101bc0903632af | |
| parent | 31bfac3f0ec613710ba00c92202ab7de910b4d05 (diff) | |
b&
| -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 |
