blob: 609a4df2a10b1827dd50e363e0d6db9e943acc5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { client } from "../../client";
import { escapeChat } from "../../encoding";
/**
* Sends add evidence command.
* @param {string} evidence name
* @param {string} evidence description
* @param {string} evidence image filename
*/
export const sendPE = (name: string, desc: string, img: string) => {
client.sender.sendServer(
`PE#${escapeChat(name)}#${escapeChat(desc)}#${escapeChat(img)}#%`,
);
};
|