aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleBB.ts
blob: c12c4f6664c2bf939b18e7c2f90a8263e3e0c03a (plain)
1
2
3
4
5
6
7
8
9
10
11
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]));
}