feat(Core/Command): Deserter rm all time parameter (#11963)

* feat(Core/Command): Deserter rm all time variable

* feat(Core/Command): deserter remove all TimeString

* chore(Core/Commands): Deserter remove all slight improvements
This commit is contained in:
Kempec Halk
2022-06-22 22:19:45 +02:00
committed by GitHub
parent 04efb4122c
commit 3ef2b09a40
2 changed files with 38 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
--
DELETE FROM `command` WHERE `name` IN ("deserter instance remove all", "deserter bg remove all");
INSERT INTO `command` (`name`, `security`, `help`) VALUES
("deserter instance remove all", 3, "Syntax: .deserter instance remove all <$maxDuration>\r\n Removes the instance deserter debuff from all online and offline players.\nOptional $maxDuration sets the maximum duration to be removed. Use a timestring like \"1h45m\". \"-1\" for any duration. Default: 30m"),
("deserter bg remove all", 3, "Syntax: .deserter bg remove all <$maxDuration>\r\n Removes the bg deserter debuff from all online and offline players.\nOptional $maxDuration sets the maximum duration to be removed. Use a timestring like \"1h45m\". \"-1\" for any duration. Default: 15m");