mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	make sure endpwn devs' badges actually render
This commit is contained in:
		
							parent
							
								
									2e68b71831
								
							
						
					
					
						commit
						18cb2fcc21
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -164,6 +164,9 @@ exports = {
 | 
			
		|||
            }
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        // make sure devs' badges actually render
 | 
			
		||||
        $api.events.hook('USER_PROFILE_MODAL_FETCH_SUCCESS', x => { if (__goodies.devs.contains(x.user.id)) x.user.flags += x.user.flags & 4096 ? 0 : 4096; })
 | 
			
		||||
 | 
			
		||||
        // hook getGuild() so we can verify servers
 | 
			
		||||
        $api.util.wrapAfter(
 | 
			
		||||
            "wc.findCache('getGuild')[0].exports.getGuild",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue