blob: fde4fe1c11b889b5ed076c5b027ed7d806804516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { client } from "../../client";
import { handleBans } from "../../client/handleBans";
/**
* Handles the banned packet
* this one is sent when you try to reconnect but you're banned
* @param {Array} args ban reason
*/
export const handleBD = (args: string[]) => {
client.banned = true;
handleBans("Banned", args[1]);
};
|