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

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