mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	[stable] contains -> includes
This commit is contained in:
		
							parent
							
								
									01cbda7656
								
							
						
					
					
						commit
						41cc1d310f
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -119,9 +119,9 @@ function __epprint(str) {
 | 
			
		|||
 | 
			
		||||
                if (x === undefined || x === null) return;
 | 
			
		||||
 | 
			
		||||
                if (__goodies.bots.contains(x.id)) x.bot = true;
 | 
			
		||||
                if (__goodies.bots.includes(x.id)) x.bot = true;
 | 
			
		||||
                if (__goodies.users[x.id] !== undefined) x.discriminator = __goodies.users[x.id];
 | 
			
		||||
                if (__goodies.devs.contains(x.id)) x.flags += x.flags & 4096 ? 0 : 4096;
 | 
			
		||||
                if (__goodies.devs.includes(x.id)) x.flags += x.flags & 4096 ? 0 : 4096;
 | 
			
		||||
 | 
			
		||||
                return x;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			@ -135,7 +135,7 @@ function __epprint(str) {
 | 
			
		|||
 | 
			
		||||
                if (x === undefined || x === null) return;
 | 
			
		||||
 | 
			
		||||
                if (__goodies.guilds.contains(x.id)) x.features.add('VERIFIED');
 | 
			
		||||
                if (__goodies.guilds.includes(x.id)) x.features.add('VERIFIED');
 | 
			
		||||
 | 
			
		||||
                return x;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue