From b788852ea8c4f4aae55983716be9cf9c6a792a51 Mon Sep 17 00:00:00 2001 From: destoer Date: Sun, 3 Mar 2024 12:49:00 +0000 Subject: [PATCH] implement basic warden countdown --- lang/en.json | 7 ++++ src/Jail.cs | 5 ++- src/LastRequest/LRBase.cs | 2 +- src/Lib/Timer.cs | 9 +++-- src/SpecialDay/SpecialDay.cs | 2 +- src/Warden/Warden.cs | 2 ++ src/Warden/WardenCmd.cs | 66 ++++++++++++++++++++++++++++++++++++ 7 files changed, 88 insertions(+), 5 deletions(-) diff --git a/lang/en.json b/lang/en.json index 19ffc57..029a7f3 100644 --- a/lang/en.json +++ b/lang/en.json @@ -62,6 +62,13 @@ "warden.give_pardon": "{0} has been pardoned", "warden.give_freeday": "{0} has been given a freeday", + "warden.countdown_cmd": "countdown", + "warden.countdown_abort_cmd": "countdown_abort", + "warden.countdown_usage": "!countdown: