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