From bf6bf954e778a22973470a32ef9293c0b431bd93 Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 1 Jan 2024 13:12:26 +0100 Subject: [PATCH] add important todo --- lib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.py b/lib.py index 2b1c5ab..c3193cd 100644 --- a/lib.py +++ b/lib.py @@ -19,15 +19,15 @@ def CheckSystemdService(service : str): return "🟢 UP" if not bool(stat) else "🔴 down" def HandleSystemdService(service : str, action : str): + #TODO: Check service constraint !important stat = subprocess.call(["systemctl", action, "--quiet", service]) return not bool(stat) def BuildHelpList(): return """Bot has the following commands: `help`: Get this help message - `info`: List all available games, their status and their slug + `info`: List all available games, their status and their __ `start `: Start game with slug __ `stop `: Stop game with slug __ `restart `: Stop game with slug __ - `status `: Show status for game with slug __ - """ \ No newline at end of file + `status `: Show status for game with slug __""" \ No newline at end of file