From 5e26c8a436fbf111ecfd34f1b811715775afe81e Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 17 Jul 2024 00:18:38 -0400 Subject: [PATCH] UserPFP Backup DB Addition (Not Default) --- src/equicordplugins/userpfp/index.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/equicordplugins/userpfp/index.tsx b/src/equicordplugins/userpfp/index.tsx index 83efe47c..2049f0ee 100644 --- a/src/equicordplugins/userpfp/index.tsx +++ b/src/equicordplugins/userpfp/index.tsx @@ -24,10 +24,19 @@ const settings = definePluginSettings({ ], }, urlForDB: { - type: OptionType.STRING, + type: OptionType.SELECT, description: "Which Database url to use to load avatars, KNOW WHAT YOUR DOING", - default: "https://userpfp.github.io/UserPFP/source/data.json", - placeholder: "Default value: https://userpfp.github.io/UserPFP/source/data.json" + options: [ + { + label: "UserPFP Default DB", + value: "https://userpfp.github.io/UserPFP/source/data.json", + default: true + }, + { + label: "UserPFP Backup DB", + value: "https://userpfp.thororen.com/UserPFP/source/data.json" + } + ] } });