Enable App for other Codes
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Subsonics - Pipeline/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Subsonics - Pipeline/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								src/main.js
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								src/main.js
									
									
									
									
									
								
							@@ -931,6 +931,7 @@ function startServer(client) {
 | 
				
			|||||||
        if(servers.message) {
 | 
					        if(servers.message) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            checked = false
 | 
					            checked = false
 | 
				
			||||||
 | 
					            console.log("Discord Auth - DENIED - NOT IN SERVER - Token : " + token)
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            for(var role of servers.roles) {
 | 
					            for(var role of servers.roles) {
 | 
				
			||||||
@@ -938,15 +939,22 @@ function startServer(client) {
 | 
				
			|||||||
                if(role == "397725552968204288") {
 | 
					                if(role == "397725552968204288") {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    checked = true
 | 
					                    checked = true
 | 
				
			||||||
                } else if(role == "172437570905571328") {
 | 
					
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                
 | 
				
			||||||
 | 
					                if(role == "172437570905571328") {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    checked = true
 | 
					                    checked = true
 | 
				
			||||||
                } else if(role == "226744358567804928") {
 | 
					                }
 | 
				
			||||||
 | 
					                
 | 
				
			||||||
 | 
					                if(role == "226744358567804928") {
 | 
				
			||||||
         
 | 
					         
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    checked = true
 | 
					                    checked = true
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
                } else if(role == "220649460059996163") {
 | 
					                } 
 | 
				
			||||||
 | 
					                
 | 
				
			||||||
 | 
					                if(role == "220649460059996163") {
 | 
				
			||||||
         
 | 
					         
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    checked = true
 | 
					                    checked = true
 | 
				
			||||||
@@ -966,7 +974,7 @@ function startServer(client) {
 | 
				
			|||||||
            }).then(resp => resp.json()).then(resp => addIdentity(resp, token, socket)).catch(error => log.server.error(error)) 
 | 
					            }).then(resp => resp.json()).then(resp => addIdentity(resp, token, socket)).catch(error => log.server.error(error)) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 | 
					            console.log("Discord Auth - DENIED - DONT HAVE RANK - Token : " + token)
 | 
				
			||||||
            socket.emit("checkFailed")
 | 
					            socket.emit("checkFailed")
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user