newfriend hat :))

pull/2/head
gooseman 2022-11-19 14:18:13 -08:00
parent 35cd14cf08
commit dcbacc6d04
2 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -261,6 +261,9 @@ class User(Base):
if self.is_cakeday:
return '/i/hats/Cakeday.webp'
if self.age < 86400:
return '/i/new-user.webp'
if self.forced_hat:
return f'/i/hats/{self.forced_hat[0]}.webp'
@ -277,6 +280,9 @@ class User(Base):
if self.is_cakeday:
return "I've spent another year rotting my brain with dramaposting, please ridicule me 🤓"
if self.age < 86400:
return "Hi, I'm new here! Please be gentle :)"
if self.forced_hat:
return self.forced_hat[1]