Update chud award to include forced trans/pride flag hats (#10)
Disclaimer: I made these changes in Notepad and didn't bother to test this change locally. Co-authored-by: Marco <bussylmao@gmail.com> Reviewed-on: #10 Co-authored-by: Marco <marco@noreply.fsdfsd.net> Co-committed-by: Marco <marco@noreply.fsdfsd.net>pull/22/head
parent
b93bf4daae
commit
af74c7c1fc
|
@ -248,6 +248,9 @@ class User(Base):
|
||||||
if self.marsify > 1:
|
if self.marsify > 1:
|
||||||
user_forced_hats.append(val)
|
user_forced_hats.append(val)
|
||||||
elif getattr(self, k):
|
elif getattr(self, k):
|
||||||
|
if k == 'agendaposter':
|
||||||
|
user_forced_hats.append(random.choice(val))
|
||||||
|
else:
|
||||||
user_forced_hats.append(val)
|
user_forced_hats.append(val)
|
||||||
if user_forced_hats: return random.choice(user_forced_hats)
|
if user_forced_hats: return random.choice(user_forced_hats)
|
||||||
else: return None
|
else: return None
|
||||||
|
|
|
@ -1612,7 +1612,12 @@ forced_hats = {
|
||||||
"earlylife": ("The Merchant", "SHUT IT DOWN, the goys know!"),
|
"earlylife": ("The Merchant", "SHUT IT DOWN, the goys know!"),
|
||||||
"marsify": ("Marsified", "I can't pick my own Marseys, help!"),
|
"marsify": ("Marsified", "I can't pick my own Marseys, help!"),
|
||||||
"is_suspended": ("Behind Bars", "This user is banned and needs to do better!"),
|
"is_suspended": ("Behind Bars", "This user is banned and needs to do better!"),
|
||||||
"agendaposter": ("Egg_irl", "This user is getting in touch with xir identity!")
|
"agendaposter": (("Egg_irl", "This user is getting in touch with xir identity!"),
|
||||||
|
("Trans Flag", "Just in case you forgot, trans lives matter."),
|
||||||
|
("Trans Flag II", "Your egg is cracked; wear it with pride!"),
|
||||||
|
("Pride Flag", "Never forget that this is a primarily gay community. Dude bussy lmao."),
|
||||||
|
("Pride Flag II", "This user is a proud supporter of LGBTQ+ rights."))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EMAIL_REGEX_PATTERN = '[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{2,63}\.[A-Za-z]{2,63}'
|
EMAIL_REGEX_PATTERN = '[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{2,63}\.[A-Za-z]{2,63}'
|
||||||
|
|
Loading…
Reference in New Issue