feat: add current session ID hash and getter method in SessionManager

This commit is contained in:
Elysia
2025-07-11 23:34:11 +07:00
parent 9ea355a6e0
commit ce747eb5a0
3 changed files with 21 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ module.exports = (client, { d: data }, shard) => {
if (guild) guild.settings._patch(gSetting);
}
// Todo: data.auth_session_id_hash
client.sessions.currentSessionIdHash = data.auth_session_id_hash;
if (data.guilds.length) {
if (data.guilds.length > 80) {