mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 13:33:30 +01:00
revert: chore: deprecate client options presence (#10426)
Revert "chore: deprecate client options presence (#10419)"
This reverts commit 8f97d2bacf.
This commit is contained in:
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -181,7 +181,6 @@ import {
|
||||
APISelectMenuDefaultValue,
|
||||
SelectMenuDefaultValueType,
|
||||
InviteType,
|
||||
GatewayPresenceUpdateData,
|
||||
} from 'discord-api-types/v10';
|
||||
import { ChildProcess } from 'node:child_process';
|
||||
import { EventEmitter } from 'node:events';
|
||||
@@ -5305,7 +5304,6 @@ export interface ClientOptions {
|
||||
allowedMentions?: MessageMentionOptions;
|
||||
partials?: readonly Partials[];
|
||||
failIfNotExists?: boolean;
|
||||
/** @deprecated Use {@link ClientOptions.ws.presence} instead */
|
||||
presence?: PresenceData;
|
||||
intents: BitFieldResolvable<GatewayIntentsString, number>;
|
||||
waitGuildTimeout?: number;
|
||||
@@ -6878,7 +6876,6 @@ export interface WebhookMessageCreateOptions extends Omit<MessageCreateOptions,
|
||||
export interface WebSocketOptions {
|
||||
large_threshold?: number;
|
||||
version?: number;
|
||||
presence?: GatewayPresenceUpdateData;
|
||||
buildStrategy?(manager: WSWebSocketManager): IShardingStrategy;
|
||||
buildIdentifyThrottler?(manager: WSWebSocketManager): Awaitable<IIdentifyThrottler>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user