show secret and ID

This commit is contained in:
MathMan05
2026-01-14 14:19:40 -06:00
parent 4f166825a0
commit ba8beadb2e
2 changed files with 9 additions and 0 deletions

View File

@@ -3539,6 +3539,11 @@ class Localuser {
form.addTextInput(I18n.localuser.privacyPolcyURL(), "privacy_policy_url", {
initText: json.privacy_policy_url,
});
form.addText(I18n.localuser.appID(appId));
form.addButtonInput("", I18n.localuser.showSecret(), () => {
const opt = form.addSubOptions(I18n.localuser.secret());
opt.addText(I18n.localuser.clientSecret(json.verify_key));
});
form.addTextInput(I18n.localuser.TOSURL(), "terms_of_service_url", {
initText: json.terms_of_service_url,
});

View File

@@ -469,6 +469,10 @@
"oldPassword:": "Old password:",
"password:": "Password",
"privacyPolcyURL": "Privacy policy URL:",
"appID":"Appreciation ID: $1",
"showSecret":"Show Client Secret",
"clientSecret":"Client Secret: $1",
"secret":"Secret",
"publicAvaliable": "Make bot publicly inviteable?",
"refreshPage": "Refresh to apply",
"requireCode": "Require code grant to invite the bot?",