Skip to content

Allows you to find and view the default profile picture for a Discord user.

Notifications You must be signed in to change notification settings

callumdisney/DefaultDiscordPFP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

DefaultDiscordPFP

What?

This program allows you to find the default profile picture for a Discord user. It then allows you to view this image online, or display it in a little window.

Why?

These profile pictures are not just randomly assigned, as some may assume. They are actually worked out using a bit of mathematics. The method of working it out depends on whether you are using the current username format (the "Pomelo system") or legacy username format (with discriminators).

Legacy System

To work out the default profile picture for an account on the legacy username system (a user with a discriminator, such as #3729), Discord takes that discriminator modulo1 5. This number will be a number from 0–4, corresponding to a selection of four different profile pictures. These can be viewed at https://cdn.discordapp.com/embed/avatars/#.png, replacing the # with the final calculated number.

MergedImages

Current System

To work out the default profile picture for an account on the current system (a user with no discriminator, just a plain username), Discord takes the user's unique user ID, performs a 22 place binary shift on it, and takes that number modulo1 6. This number will be a number from 0–5, corresponding to a selection of five different profile pictures. These can be viewed at https://cdn.discordapp.com/embed/avatars/#.png, replacing the # with the final calculated number.

MergedImages-

Footnotes

Footnotes

  1. Modulo means to divide by and find the remainder. 2

About

Allows you to find and view the default profile picture for a Discord user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages