feat: disable client.acceptInvite()

This commit is contained in:
Elysia
2024-07-03 17:24:24 +07:00
parent 76dacc6041
commit 39496afcec
8 changed files with 83 additions and 56 deletions

2
typings/index.d.ts vendored
View File

@@ -777,6 +777,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
/** @deprecated Use {@link Sweepers#sweepMessages} instead */
public sweepMessages(lifetime?: number): number;
public toJSON(): unknown;
/** @deprecated */
public acceptInvite(
invite: InviteResolvable,
options?: AcceptInviteOptions,
@@ -3934,7 +3935,6 @@ export class GuildChannelManager extends CachedManager<Snowflake, GuildBasedChan
options?: SetChannelPositionOptions,
): Promise<GuildChannel>;
public setPositions(channelPositions: readonly ChannelPosition[]): Promise<Guild>;
public fetchActiveThreads(cache?: boolean): Promise<FetchedThreads>;
public delete(channel: GuildChannelResolvable, reason?: string): Promise<void>;
}