Added Global Message for Next Game - Bug Fixed on Double Displaying Ping Buddies

This commit is contained in:
NigeParis 2025-12-10 13:10:59 +01:00
parent db40539bf7
commit de760c94ee
5 changed files with 170 additions and 60 deletions

View file

@ -142,3 +142,11 @@ export function typeResponse<K extends string, T extends TProperties>(
export function isNullish<T>(v: T | undefined | null): v is null | undefined {
return v === null || v === undefined;
}
/**
/* EXPERIMENTAL: how to send a starting game link to chat
**/
export async function sendGameLinkToChatService(link: string) :Promise<string> {
const payload = { link };
return JSON.stringify(payload);
}