Versiion 0.2.3 - Ajout Handle Case Discriminator FINAL 5
This commit is contained in:
parent
199b343d5d
commit
fe73432014
@ -74,7 +74,9 @@ module.exports.getDiscordUser = function (code, session) {
|
||||
|
||||
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")
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user