merge with Chatte

This commit is contained in:
2023-12-15 20:34:55 +01:00
27 changed files with 636 additions and 67 deletions

View File

@ -2,6 +2,7 @@ import { Account } from "./account.js";
import { MatchMaking } from "./matchmaking.js";
import { Profile } from "./profile.js";
import { Profiles } from "./profiles.js";
import { Channels } from './chat/channels.js';
function getCookie(name)
{
@ -22,6 +23,9 @@ class Client
this.profiles = new Profiles(this);
this.matchmaking = new MatchMaking(this);
this._logged = undefined;
this.channels = new Channels(this);
this.channel = undefined;
}
async isAuthentificate()
@ -124,4 +128,4 @@ class Client
}
}
export {Client}
export {Client}