Added Global Message for Next Game - Bug Fixed on Double Displaying Ping Buddies
This commit is contained in:
parent
db40539bf7
commit
de760c94ee
5 changed files with 170 additions and 60 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue