~xenrox/10man-ts3

cf24405eaddb9b1c5300aa21c4bfa8e5c714e5dc — Thorben Günther 2 years ago 0c5cb05
play: Improve error handling
1 files changed, 6 insertions(+), 0 deletions(-)

M app.ts
M app.ts => app.ts +6 -0
@@ 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;