forked from rDrama/rDrama
fdssfd
parent
2d02ea7ce9
commit
310724fb4c
|
@ -421,7 +421,7 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def profile_url(self):
|
def profile_url(self):
|
||||||
if self.grinch: return f"https://{site}/assets/images/grinch.webp?v=200"
|
if self.grincheffect: return f"https://{site}/assets/images/grinch.webp?v=200"
|
||||||
if self.agendaposter: return f"https://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.webp?v=200"
|
if self.agendaposter: return f"https://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.webp?v=200"
|
||||||
if self.profileurl: return self.profileurl
|
if self.profileurl: return self.profileurl
|
||||||
if "rama" in site: return f"https://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=200"
|
if "rama" in site: return f"https://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=200"
|
||||||
|
|
Loading…
Reference in New Issue