From ba8beadb2e7072bf3ca8c8a6a449d6d16c2146f6 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 14 Jan 2026 14:19:40 -0600 Subject: [PATCH] show secret and ID --- src/webpage/localuser.ts | 5 +++++ translations/en.json | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/webpage/localuser.ts b/src/webpage/localuser.ts index 0ed5f72..f6d3257 100644 --- a/src/webpage/localuser.ts +++ b/src/webpage/localuser.ts @@ -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, }); diff --git a/translations/en.json b/translations/en.json index 27ac08d..1d6a2bb 100644 --- a/translations/en.json +++ b/translations/en.json @@ -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?",