diff --git a/src/structures/interfaces/TextBasedChannel.js b/src/structures/interfaces/TextBasedChannel.js index 581400a5c..bc68c2457 100644 --- a/src/structures/interfaces/TextBasedChannel.js +++ b/src/structures/interfaces/TextBasedChannel.js @@ -106,7 +106,7 @@ class TextBasedChannel { /** * Sends a message to this channel. * @param {string|MessagePayload|MessageOptions} options The options to provide - * @returns {Promise} + * @returns {Promise} * @example * // Send a basic message * channel.send('hello!') diff --git a/typings/index.d.ts b/typings/index.d.ts index 50cacee83..5c4ad50b4 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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): this; public on(event: 'close', listener: (event: CloseEvent) => Awaited): this;