diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-31 17:28:25 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-31 17:28:25 -0400 |
commit | 9aa46f79516c0c044742339c59d471b43060d84f (patch) | |
tree | eeed189fe3d7637043b07c2a292aa2896a175476 /src/lib/utils | |
parent | bada2976eed34a2530bc09683d2de17c71c744a8 (diff) | |
download | tanzanite-9aa46f79516c0c044742339c59d471b43060d84f.tar.gz tanzanite-9aa46f79516c0c044742339c59d471b43060d84f.tar.bz2 tanzanite-9aa46f79516c0c044742339c59d471b43060d84f.zip |
bug fixes etc
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/BushConstants.ts | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts index f2ca327..17880cb 100644 --- a/src/lib/utils/BushConstants.ts +++ b/src/lib/utils/BushConstants.ts @@ -22,6 +22,51 @@ interface bushColors { orange: '#E86100'; } +export type PronounCode = + | 'unspecified' + | 'hh' + | 'hi' + | 'hs' + | 'ht' + | 'ih' + | 'ii' + | 'is' + | 'it' + | 'shh' + | 'sh' + | 'si' + | 'st' + | 'th' + | 'ti' + | 'ts' + | 'tt' + | 'any' + | 'other' + | 'ask' + | 'avoid'; +export type Pronoun = + | 'Unspecified' + | 'He/Him' + | 'He/It' + | 'He/She' + | 'He/They' + | 'It/Him' + | 'It/Its' + | 'It/She' + | 'It/They' + | 'She/He' + | 'She/Her' + | 'She/It' + | 'She/They' + | 'They/He' + | 'They/It' + | 'They/She' + | 'They/Them' + | 'Any pronouns' + | 'Other pronouns' + | 'Ask me my pronouns' + | 'Avoid pronouns, use my name'; + export class BushConstants { public static emojis = { success: '<:success:837109864101707807>', @@ -108,6 +153,30 @@ export class BushConstants { discordEmoji: /<a?:(?<name>[a-zA-Z0-9\_]+):(?<id>\d{15,21})>/im }; + public static pronounMapping: { [x in PronounCode]: Pronoun } = { + unspecified: 'Unspecified', + hh: 'He/Him', + hi: 'He/It', + hs: 'He/She', + ht: 'He/They', + ih: 'It/Him', + ii: 'It/Its', + is: 'It/She', + it: 'It/They', + shh: 'She/He', + sh: 'She/Her', + si: 'She/It', + st: 'She/They', + th: 'They/He', + ti: 'They/It', + ts: 'They/She', + tt: 'They/Them', + any: 'Any pronouns', + other: 'Other pronouns', + ask: 'Ask me my pronouns', + avoid: 'Avoid pronouns, use my name' + }; + /** A bunch of mappings */ public static mappings = { guilds: { |