From cf24405eaddb9b1c5300aa21c4bfa8e5c714e5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 8 Nov 2021 16:57:14 +0100 Subject: [PATCH] play: Improve error handling --- app.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.ts b/app.ts index 19adaf1..06634f4 100644 --- a/app.ts +++ b/app.ts @@ -185,6 +185,12 @@ async function play(clid: string, teamspeakID: string) { case "queue is full": message(clid, "Queue is full."); break; + case "cannot queue, match still ongoing": + message(clid, "Cannot queue, a match is ongoing."); + break; + case "no result": + message(clid, "You are not registered with this teamspeakID."); + break; default: console.error(error); break; -- 2.44.0