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

/**
 * Handles the warning packet
 * on client this spawns a message box you can't close for 2 seconds
 * @param {Array} args ban reason
 */
export const handleBB = (args: string[]) => {
  alert(safeTags(args[1]));
};