mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
docs: WebSocketShard#send and TextBasedChannel#send (#5998)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2277,7 +2277,7 @@ declare module 'discord.js' {
|
||||
private _cleanupConnection(): void;
|
||||
private _emitDestroyed(): void;
|
||||
|
||||
public send(data: unknown): void;
|
||||
public send(data: unknown, important?: boolean): void;
|
||||
|
||||
public on(event: 'ready' | 'resumed' | 'invalidSession', listener: () => Awaited<void>): this;
|
||||
public on(event: 'close', listener: (event: CloseEvent) => Awaited<void>): this;
|
||||
|
||||
Reference in New Issue
Block a user