chore: Miscellaneous fixes
#9271 djs > Backports the following pull requests to version 13: > > * docs: describe private properties #8879 > * fix(snowflake): snowflakes length #9144 > * fix(Message): `bulkDeletable` permissions should be retrieved later for DMs #9146 > * fix(Message#editable): update editable check in threads locked #9216 > * fix: add support for new guild feature `GUILD_WEB_PAGE_VANITY_URL` #9219 > * fix(AutocompleteInteraction): Send `name_localizations` correctly #9238 > * fix(ThreadManager): Respect `cache` and `force` in fetching #9239 > * docs(FetchArchivedThreadOptions): `before` respects `archive_timestamp`, not creation timestamp #9240 > * refactor(FetchThreadsOptions): Remove `active` #9241 > * docs: differ `User#send` #9251 > * docs: add more examples #9252 > * fix(ClientUser): No mutation on edit #9259 > * fix: resolving string bitfield #9262 > * refactor: call `GuildBanManager#create()` directly #9263 > * docs(Role): Fix example for `comparePositionTo()` #9270 > * docs: fix compare position example #9272 > * fix: Keep symbols in actions manager #9293
This commit is contained in:
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -378,6 +378,7 @@ export class CustomStatus {
|
||||
|
||||
export class Activity {
|
||||
private constructor(presence: Presence, data?: RawActivityData);
|
||||
public readonly presence: Presence;
|
||||
public applicationId: Snowflake | null;
|
||||
public assets: RichPresenceAssets | null;
|
||||
public buttons: string[];
|
||||
@@ -1595,6 +1596,7 @@ export class GuildEmoji extends BaseGuildEmoji {
|
||||
|
||||
export class GuildMember extends PartialTextBasedChannel(Base) {
|
||||
private constructor(client: Client, data: RawGuildMemberData, guild: Guild);
|
||||
private _roles: Snowflake[];
|
||||
public avatar: string | null;
|
||||
public readonly bannable: boolean;
|
||||
/** @deprecated This will be removed in the next major version, see https://github.com/discordjs/discord.js/issues/7091 */
|
||||
@@ -2647,6 +2649,7 @@ export class ReactionEmoji extends Emoji {
|
||||
|
||||
export class RichPresenceAssets {
|
||||
private constructor(activity: Activity, assets: RawRichPresenceAssets);
|
||||
public readonly activity: Activity;
|
||||
public largeImage: Snowflake | null;
|
||||
public largeText: string | null;
|
||||
public smallImage: Snowflake | null;
|
||||
@@ -3769,6 +3772,7 @@ export abstract class DataManager<K, Holds, R> extends BaseManager {
|
||||
|
||||
export abstract class CachedManager<K, Holds, R> extends DataManager<K, Holds, R> {
|
||||
protected constructor(client: Client, holds: Constructable<Holds>);
|
||||
private readonly _cache: Collection<K, Holds>;
|
||||
private _add(data: unknown, cache?: boolean, { id, extras }?: { id: K; extras: unknown[] }): Holds;
|
||||
}
|
||||
|
||||
@@ -6007,7 +6011,6 @@ export type FetchThreadMembersOptions =
|
||||
|
||||
export interface FetchThreadsOptions {
|
||||
archived?: FetchArchivedThreadOptions;
|
||||
active?: boolean;
|
||||
}
|
||||
|
||||
export interface FileOptions {
|
||||
|
Reference in New Issue
Block a user