def username(self): user = UserModel.by_user_id(self.userID) if user is None: return self.userID return user.username