From ef3316af3da953786cc4905db865f07cb59e81ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 8 Nov 2021 19:05:31 +0100 Subject: [PATCH] Improve error handling --- app.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.ts b/app.ts index aa1adcd..dd70607 100644 --- a/app.ts +++ b/app.ts @@ -158,6 +158,9 @@ async function register(clid: string, teamspeakID: string, steamID: string) { case "wrong steamID64": message(clid, "You entered a wrong steamID64."); break; + case "must be defined": + message(clid, "Usage: !register STEAMID64"); + break; default: console.error(error); break; -- 2.44.0