Files
Vencord-Plugins/friendsCheck

Friends Check Plugin

A Vencord plugin that adds a button to Discord's title bar to check mutual friends with any of your friends.

Features

  • Header Bar Button: Adds a convenient button to Discord's title bar
  • User ID Input: Simple form to enter a friend's Discord User ID
  • Mutual Friends Display: Shows a list of friends you have in common with the specified user
  • Friend Validation: Only works with users who are already on your friends list
  • User Avatars: Displays profile pictures alongside friend names
  • Error Handling: Provides clear feedback for invalid inputs or API errors

How to Use

  1. Click the Friends Check button in Discord's title bar (looks like a contact list icon)
  2. Enter the Discord User ID of a friend you want to check mutual friends with
  3. Click "Check Mutual Friends"
  4. View the list of mutual friends displayed with their avatars and usernames

How to Get Someone's User ID

  1. Enable Developer Mode in Discord (Settings → Advanced → Developer Mode)
  2. Right-click on the user's profile or message
  3. Select "Copy User ID" from the context menu

Requirements

  • The target user must be on your friends list
  • You need to have Developer Mode enabled to easily copy User IDs
  • The plugin uses Discord's internal API to fetch relationship data

Technical Details

  • Uses Discord's /api/v9/users/{userId}/relationships endpoint
  • Validates friend relationships using RelationshipStore
  • Implements proper error handling and loading states
  • Follows Vencord's plugin architecture and UI patterns

Troubleshooting

  • "User not found": Make sure the User ID is correct and the user exists
  • "You can only check mutual friends with people on your friends list": The target user must be on your friends list
  • "Failed to fetch mutual friends": Check your internet connection or try again later

Privacy & Security

This plugin only accesses data that Discord already provides through its internal APIs. It does not store any user data permanently and only processes friend relationships that you already have access to through Discord's interface.