✨ add guilds array to user model
This commit is contained in:
		
							parent
							
								
									71ace90f07
								
							
						
					
					
						commit
						1b5e487ce0
					
				| @ -15,6 +15,7 @@ export interface User { | ||||
| 	hash: string; // hash of the password, salt is saved in password (bcrypt)
 | ||||
| 	valid_tokens_since: number; // all tokens with a previous issue date are invalid
 | ||||
| 	user_settings: UserSettings; | ||||
| 	guilds: bigint[] // array of guild ids the user is part of
 | ||||
| } | ||||
| 
 | ||||
| export interface UserSettings { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Flam3rboy
						Flam3rboy