feat(structures/guild): add nsfw: boolean
This commit is contained in:
		
							parent
							
								
									30be804166
								
							
						
					
					
						commit
						f8ecaba024
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -187,6 +187,7 @@ export class Guild extends SnowflakeBase { | ||||||
|   approximateNumberCount?: number |   approximateNumberCount?: number | ||||||
|   approximatePresenceCount?: number |   approximatePresenceCount?: number | ||||||
|   bans: GuildBans |   bans: GuildBans | ||||||
|  |   nsfw: boolean | ||||||
| 
 | 
 | ||||||
|   /** Get Shard ID of Guild on which it is */ |   /** Get Shard ID of Guild on which it is */ | ||||||
|   get shardID(): number { |   get shardID(): number { | ||||||
|  | @ -261,6 +262,7 @@ export class Guild extends SnowflakeBase { | ||||||
|         data.approximate_number_count ?? this.approximateNumberCount |         data.approximate_number_count ?? this.approximateNumberCount | ||||||
|       this.approximatePresenceCount = |       this.approximatePresenceCount = | ||||||
|         data.approximate_presence_count ?? this.approximatePresenceCount |         data.approximate_presence_count ?? this.approximatePresenceCount | ||||||
|  |       this.nsfw = data.nsfw ?? this.nsfw | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue