Add clan discord webhook func

This commit is contained in:
Vortrex
2022-07-27 00:44:07 -05:00
parent f4adc3c3e9
commit 9cedecf40c
2 changed files with 52 additions and 2 deletions

View File

@@ -1139,8 +1139,7 @@ function getStaffFlagsCommand(command, params, client) {
return false;
}
let targetClient = getPlayerFromParams(getParam(params, " ", 1));
let flagName = getParam(params, " ", 2) || "None";
let targetClient = getParam(params, " ", 1);
if (!targetClient) {
messagePlayerError(client, getLocaleString(client, "InvalidPlayer"));