From dcdf54ca010e0adc9c2b48a90617c45a471d7e32 Mon Sep 17 00:00:00 2001 From: ayntgl Date: Mon, 13 Dec 2021 20:14:36 +0400 Subject: [PATCH] Convert Invite#channel to a nullable property --- src/types/invites/invite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/invites/invite.ts b/src/types/invites/invite.ts index a795158ec..f8cea227d 100644 --- a/src/types/invites/invite.ts +++ b/src/types/invites/invite.ts @@ -13,7 +13,7 @@ export interface Invite { /** The guild this invite is for */ guild?: Partial; /** The channel this invite is for */ - channel: Partial; + channel: Partial | null; /** The user who created the invite */ inviter?: User; /** The type of target for this voice channel invite */