Remove nsfw property in some channels
Some guild channels can't be a nsfw channel
This commit is contained in:
		
							parent
							
								
									b0da81f308
								
							
						
					
					
						commit
						837f045bdd
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -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 { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue