| 
					
				 | 
			
			
				@@ -1172,7 +1172,11 @@ async function joinDiscord() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (joined) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           state.done.join_discord = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          openInviteUrl(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(discordAuthorizeRequired) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            discordAuth('authAndJoinIng'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            openInviteUrl(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (res.code == 1010) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         discordAuth('authAndJoinIng'); 
			 |