This definitely belongs here.
My friend sent me a link to a discord message, but I can’t access the server!
The only thing we have to work with that might point us to a server is a discord message link. The only thing that looks like it’s helpful are the numbers in the link, so I googled the structure of a discord message link.
Aha! The number right after channel is probably what we need. “1143240372986851338” is a server id, and the next two are the channel and message id, which we will use later to find the specific message.
Looking at the image that was provided, I see a Discord widget, with a “Join Discord” button at the bottom. If I could somehow recreate this widget for the server, then I’d be able to join. Knowing this, I create my own server, and find my way to the widget screen.
Here we can see the “Premade Widget” code.
<iframe src="https://discord.com/widget?id=123456789&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
The only thing here that seems to identify the server it is a widget of is the server ID, which we had previously found. I take the premade widget code, replace the id with the server id, and run the code!
Now the widget pops up in chrome on a blank screen, and I click join Discord, and then I click the message link. There’s the flag!