yepcord / server

Unofficial discord backend implementation in python.
GNU Affero General Public License v3.0
2 stars 1 forks source link

add mutual friends count #203

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://api.github.com/yepcord/server/blob/0afcb236b7a3ff0df9161eb63cc0e361cb5c82ec/src/yepcord/models/users.py#L97


                data["guild_member_profile"] = {"guild_id": str(guild_id)}
                data["guild_member"] = await member.ds_json()
        if mutual_friends_count:
            data["mutual_friends_count"] = 0  # TODO: add mutual friends count
        if with_mutual_guilds:
            data["mutual_guilds"] = await getCore().getMutualGuildsJ(self, other_user)
github-actions[bot] commented 1 year ago

Closed in d2da2d5fc2531f2122dfd44001dccb1f4bcbeeef