docs: update
This commit is contained in:
parent
ef7fb433ba
commit
402be66265
File diff suppressed because one or more lines are too long
@ -11,6 +11,12 @@ class SessionManager extends CachedManager {
|
||||
constructor(client, iterable) {
|
||||
super(client, Session, iterable);
|
||||
}
|
||||
/**
|
||||
* The cache of Sessions
|
||||
* @type {Collection<string, Session>}
|
||||
* @name SessionManager#cache
|
||||
*/
|
||||
|
||||
/**
|
||||
* Fetch all sessions of the client.
|
||||
* @returns {Promise<SessionManager>}
|
||||
|
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@ -177,8 +177,8 @@ import {
|
||||
// @ts-ignore
|
||||
//#region Classes
|
||||
|
||||
export class SessionManager extends CachedManager {
|
||||
constructor(client: Client, iterable?: Iterable<unknown>);
|
||||
export class SessionManager extends CachedManager<string, Session, any> {
|
||||
private constructor(client: Client, iterable: Iterable<any>);
|
||||
public fetch(): Promise<SessionManager>;
|
||||
public logoutAllDevices(mfaCode?: string): Promise<undefined>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user