diff options
Diffstat (limited to 'webAO/packets/handlers/handleKK.ts')
| -rw-r--r-- | webAO/packets/handlers/handleKK.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/webAO/packets/handlers/handleKK.ts b/webAO/packets/handlers/handleKK.ts new file mode 100644 index 0000000..fd9a88c --- /dev/null +++ b/webAO/packets/handlers/handleKK.ts @@ -0,0 +1,11 @@ +import { client } from "../../client"; +import { safeTags } from "../../encoding"; + + +/** + * Handles the kicked packet + * @param {Array} args kick reason + */ +export const handleKK = (args: string[]) => { + client.handleBans("Kicked", safeTags(args[1])); +} |
