forked from MarseyWorld/MarseyWorld
add extra info for @vario
parent
92df3063b9
commit
8063fd4f53
|
@ -1132,11 +1132,14 @@ class User(Base):
|
|||
|
||||
return {'username': self.username,
|
||||
'original_username': self.original_username,
|
||||
'extra_username': self.extra_username,
|
||||
'url': self.url,
|
||||
'is_banned': bool(self.is_banned),
|
||||
'created_utc': self.created_utc,
|
||||
'id': self.id,
|
||||
'is_private': self.is_private,
|
||||
'house': self.house,
|
||||
'admin_level': self.admin_level,
|
||||
'profile_url': self.profile_url,
|
||||
'bannerurl': self.banner_url,
|
||||
'bio': self.bio,
|
||||
|
@ -1144,6 +1147,8 @@ class User(Base):
|
|||
'flair': self.flair,
|
||||
'flair_html': self.flair_html,
|
||||
'coins': self.coins,
|
||||
'marseybux': self.marseybux,
|
||||
'truescore': self.truescore,
|
||||
'post_count': self.real_post_count(g.v),
|
||||
'comment_count': self.real_comment_count(g.v),
|
||||
'chud_phrase': self.chud_phrase,
|
||||
|
|
Loading…
Reference in New Issue