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