blob: 8d4c80df3e9cb9a40f9de22256df2b89a2f63d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { client, extrafeatures } from "../client";
/**
* Call mod.
*/
export function callMod() {
let modcall;
if (extrafeatures.includes("modcall_reason")) {
modcall = prompt("Please enter the reason for the modcall", "");
}
if (modcall == null || modcall === "") {
// cancel
} else {
client.sender.sendZZ(modcall);
}
}
window.callMod = callMod;
|