mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(GuildAuditLog): Remove Promises in constructor (#7089)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -1302,6 +1302,7 @@ export class InteractionWebhook extends PartialWebhookMixin() {
|
||||
export class Invite extends Base {
|
||||
private constructor(client: Client, data: RawInviteData);
|
||||
public channel: GuildChannel | PartialGroupDMChannel;
|
||||
public channelId: Snowflake;
|
||||
public code: string;
|
||||
public readonly deletable: boolean;
|
||||
public readonly createdAt: Date | null;
|
||||
@@ -1310,6 +1311,7 @@ export class Invite extends Base {
|
||||
public readonly expiresTimestamp: number | null;
|
||||
public guild: InviteGuild | Guild | null;
|
||||
public inviter: User | null;
|
||||
public inviterId: Snowflake | null;
|
||||
public maxAge: number | null;
|
||||
public maxUses: number | null;
|
||||
public memberCount: number;
|
||||
@@ -4356,7 +4358,7 @@ export interface GuildAuditLogsEntryTargetField<TActionType extends GuildAuditLo
|
||||
USER: User | null;
|
||||
GUILD: Guild;
|
||||
WEBHOOK: Webhook;
|
||||
INVITE: Invite | { [x: string]: unknown };
|
||||
INVITE: Invite;
|
||||
MESSAGE: TActionType extends 'MESSAGE_BULK_DELETE' ? Guild | { id: Snowflake } : User;
|
||||
INTEGRATION: Integration;
|
||||
CHANNEL: GuildChannel | { id: Snowflake; [x: string]: unknown };
|
||||
|
||||
Reference in New Issue
Block a user