blob: 567ed9d4eee7f32ef477fdba06ff3e25a065ffe0 (
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,-1);
}
}
window.callMod = callMod;
|