aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleKK.ts
blob: 7aedaa4f31f23c0ad7496fd967103888c6d4dcb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { client } from "../../client";
import { handleBans } from "../../client/handleBans";

/**
 * Handles the kicked packet
 * @param {Array} args kick reason
 */
export const handleKK = (args: string[]) => {
  client.banned = true;
  handleBans("Kicked", args[1]);
};