aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/pronoundb/settings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pronoundb/settings.ts')
-rw-r--r--src/plugins/pronoundb/settings.ts17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/plugins/pronoundb/settings.ts b/src/plugins/pronoundb/settings.ts
index 2bd8288..5d22797 100644
--- a/src/plugins/pronoundb/settings.ts
+++ b/src/plugins/pronoundb/settings.ts
@@ -19,7 +19,7 @@
import { definePluginSettings } from "@api/Settings";
import { OptionType } from "@utils/types";
-import { PronounsFormat } from "./pronoundbUtils";
+import { PronounsFormat, PronounSource } from "./pronoundbUtils";
export const settings = definePluginSettings({
pronounsFormat: {
@@ -37,6 +37,21 @@ export const settings = definePluginSettings({
}
]
},
+ pronounSource: {
+ type: OptionType.SELECT,
+ description: "Where to source pronouns from",
+ options: [
+ {
+ label: "Prefer PronounDB, fall back to Discord",
+ value: PronounSource.PreferPDB,
+ default: true
+ },
+ {
+ label: "Prefer Discord, fall back to PronounDB (might lead to inconsistency between pronouns in chat and profile)",
+ value: PronounSource.PreferDiscord
+ }
+ ]
+ },
showSelf: {
type: OptionType.BOOLEAN,
description: "Enable or disable showing pronouns for the current user",