Versiion 0.2.3 - Ajout Handle Case Discriminator FINAL 5
This commit is contained in:
		@@ -74,7 +74,9 @@ module.exports.getDiscordUser = function (code, session) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    var user = {}
 | 
					                    var user = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    if(typeof userInfo.user.global_name == "undefined") {
 | 
					                    const global_name = userInfo.user.global_name 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    if(typeof global_name == "undefined") {
 | 
				
			||||||
                        reject("MIGRATE_ACCOUNT_ONLY")
 | 
					                        reject("MIGRATE_ACCOUNT_ONLY")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    } else {
 | 
					                    } else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user