You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

SimpleContextFetchingStrategy

export declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy
export declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy

No summary provided.

constructor(manager, options)
Constructs a new instance of the SimpleContextFetchingStrategy class
NameTypeOptionalDescription
managerWebSocketManagerNoNone
optionsFetchingStrategyOptionsNoNone
Readonly
retrieveSessionInfo(shardId):Promise<SessionInfo | null>
NameTypeOptionalDescription
shardIdnumberNoNone
updateSessionInfo(shardId, sessionInfo):Awaitable<void>
NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone
waitForIdentify(shardId, signal):Promise<void>
NameTypeOptionalDescription
shardIdnumberNoNone
signalAbortSignalNoNone