This script generates a friend invite link for Discord by recursively searching for the createFriendInvite
method within Discord web.
This method is up to date and works without any custom Discord clients
Last time tested: 12/9/2024
Note
This method is designed to be more resilient to updates,
as it dynamically searches for the createFriendInvite
function instead of relying on a hardcoded,
currently working method that may become outdated.
- Open Discord in your browser https://app.discord.com/
- Open the Developer Tools (usually by pressing
F12
orCtrl+Shift+I
). Or in Chrome if no hotkey works: Hambuger menu at the top right -> "More tools" -> "Developer tools" - Navigate to the Console tab.
- Copy and paste the script below into the console and press
Enter
. - You should now see an output like this: