I was intrigued, and decided to do some testing. But after reading the specifics, it seemed like they weren’t random. One of these types was labeled “Default User Avatar”, and I assumed it meant the randomly assigned, flat colored profile picture Discord assigned to users who hadn’t picked a profile picture yet. It turns out that this avatar hash was nothing special, just a type of link. Discord specifically said that it would give the “avatar hash”, but what was that? Putting aside my current task, I decided to dig a little deeper. However, something unrelated caught my eye: this specific request would also return back the user’s profile picture, or at least that’s what I thought. By making a specific GET request, I could not only get the user’s ID but a bunch of helpful stuff about them, like their username, what type of Nitro they had, and even if they had two factor authentication enabled. I started by looking at Discord’s official bot documentation to see how I would request the user’s ID, and came across It means of doing so. I was creating a discord bot and needed to get some data from Discord: namely, a user’s ID so I could send them a message through my bot. The story begins with these HTTP requests. Put simply, the GET request gets information from Discord, and the POST request “posts” or sends information to Discord. There are a couple different types of HTTP requests, but the two most common are the GET and POST methods. And if you want to make a Discord Bot, mastering HTTP requests is essential. It delivers websites, logs in users, uploads images, and everything in between. Hypertext Transfer Protocol, or HTTP, is the language of the internet. However, what if I told you there was an unreleased sixth version? The basics Five different colored squares (blurple, gray, green, yellow, and red) each with a white discord logo on top When you first created your Discord account, you may remember the default profile picture Discord gives you: a solid color with the white Discord logo superimposed on top. This article was originally written by Kyfex A file, hidden inside Discord’s servers I mean just take a look at that GIF above.When you first created your Discord account, you may remember the default profile picture Discord gives you: a solid color with the white Discord logo superimposed on top. I usually just grab and crop images I like, but there are also sites like Pfps.gg that keep a library of PFPs for you to peruse. And if you get bored of it later, you can change it! Heck, I change my Discord PFP every few months just to keep things fresh, and you can do the same. If there’s a particular image that really speaks to you, makes you laugh, makes you think, or whatever else, you can use it as your PFP. In the end, it all boils down to personal preference. There’s nothing wrong with speaking out on something you believe in, provided you’re not attacking or belittling others in the process. In the same vein as the memes, though, just be mindful of where you do this and how you do it. Things like pride flags, protest messages, or even temporarily removing your PFP altogether can send powerful messages that show others where your priorities lay. PFPs on Discord or elsewhere can be used to show support for certain movements and ideologies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |