Version 1.0.0f - Final Version

This commit is contained in:
Raphix
2023-09-17 14:24:58 +02:00
parent 21679714d9
commit ce135d1b48
5 changed files with 25 additions and 43 deletions

View File

@ -88,19 +88,28 @@ module.exports.getDiscordUser = function (code, session) {
if(packageJson.beta_on == false) {
user.auth = authorizationKey
if(userInfo.user.id == "486943594893017119") {
user.admin = true
}
Object.assign(user, userInfo)
resolve(user)
} else {
if(betausers.includes(userInfo.user.id)) {
user.auth = authorizationKey
if(userInfo.user.id == "486943594893017119") {
user.admin = true
}
user.beta = true
Object.assign(user, userInfo)
resolve(user)
} else {