Remove nsfw property in some channels

Some guild channels can't be a nsfw channel
This commit is contained in:
Helloyunho 2020-12-20 17:13:25 +09:00
parent b0da81f308
commit 837f045bdd

View file

@ -18,13 +18,13 @@ export interface GuildChannelPayload extends ChannelPayload {
name: string
position: number
permission_overwrites: Overwrite[]
nsfw: boolean
parent_id?: string
}
export interface GuildTextChannelPayload
extends TextChannelPayload,
GuildChannelPayload {
nsfw: boolean
rate_limit_per_user: number
topic?: string
}
@ -33,6 +33,7 @@ export interface GuildNewsChannelPayload
extends TextChannelPayload,
GuildChannelPayload {
topic?: string
nsfw: boolean
}
export interface GuildVoiceChannelPayload extends GuildChannelPayload {