Convert Invite#channel to a nullable property

This commit is contained in:
ayntgl
2021-12-13 20:14:36 +04:00
parent f04582d17a
commit dcdf54ca01
+1 -1
View File
@@ -13,7 +13,7 @@ export interface Invite {
/** The guild this invite is for */
guild?: Partial<Guild>;
/** The channel this invite is for */
channel: Partial<Channel>;
channel: Partial<Channel> | null;
/** The user who created the invite */
inviter?: User;
/** The type of target for this voice channel invite */