fix: friend invite

This commit is contained in:
Elysia
2024-01-30 14:44:38 +07:00
parent 7dd33bd946
commit bbe0399245
3 changed files with 7 additions and 7 deletions

4
typings/index.d.ts vendored
View File

@@ -1728,8 +1728,8 @@ export class InteractionWebhook extends PartialWebhookMixin() {
export class Invite extends Base {
private constructor(client: Client, data: RawInviteData);
public channel: NonThreadGuildBasedChannel | GroupDMChannel;
public channelId: Snowflake;
public channel?: NonThreadGuildBasedChannel | GroupDMChannel;
public channelId?: Snowflake;
public code: string;
public readonly deletable: boolean;
public readonly createdAt: Date | null;