Skip to content

Commit

Permalink
Merge pull request #44 from peterhanania/Lulalaby/main
Browse files Browse the repository at this point in the history
Added latest documented flags
  • Loading branch information
Peter authored Nov 12, 2022
2 parents 47c659a + 99553fb commit 1daaed7
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 2 deletions.
61 changes: 59 additions & 2 deletions components/Data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,46 @@ const icons = {
<path d="M1.9 40v-4.7q0-1.75.9-3.175Q3.7 30.7 5.3 30q3.65-1.6 6.575-2.3Q14.8 27 17.9 27q3.1 0 6 .7t6.55 2.3q1.6.7 2.525 2.125.925 1.425.925 3.175V40Zm35 0v-4.7q0-3.15-1.6-5.175t-4.2-3.275q3.45.4 6.5 1.175t4.95 1.775q1.65.95 2.6 2.35.95 1.4.95 3.15V40Zm-19-16.05q-3.3 0-5.4-2.1-2.1-2.1-2.1-5.4 0-3.3 2.1-5.4 2.1-2.1 5.4-2.1 3.3 0 5.4 2.1 2.1 2.1 2.1 5.4 0 3.3-2.1 5.4-2.1 2.1-5.4 2.1Zm10.5 0q-.55 0-1.225-.075T25.95 23.6q1.2-1.25 1.825-3.075.625-1.825.625-4.075t-.625-3.975Q27.15 10.75 25.95 9.3q.55-.15 1.225-.25t1.225-.1q3.3 0 5.4 2.1 2.1 2.1 2.1 5.4 0 3.3-2.1 5.4-2.1 2.1-5.4 2.1ZM4.9 37h26v-1.7q0-.8-.475-1.55T29.25 32.7q-3.6-1.6-6.05-2.15-2.45-.55-5.3-.55-2.85 0-5.325.55T6.5 32.7q-.7.3-1.15 1.05-.45.75-.45 1.55Zm13-16.05q1.95 0 3.225-1.275Q22.4 18.4 22.4 16.45q0-1.95-1.275-3.225Q19.85 11.95 17.9 11.95q-1.95 0-3.225 1.275Q13.4 14.5 13.4 16.45q0 1.95 1.275 3.225Q15.95 20.95 17.9 20.95Zm0 16.05Zm0-20.55Z" />
</svg>
),
SELF_DELETED: (
<svg
xmlns="http://www.w3.org/2000/svg"
height="48"
width="48"
className="fill-red-600"
>
<path d="M21.55 31.5q.05-3.6.825-5.25.775-1.65 2.925-3.6 2.1-1.9 3.225-3.525t1.125-3.475q0-2.25-1.5-3.75t-4.2-1.5q-2.6 0-4 1.475T17.9 14.95l-4.2-1.85q1.1-2.95 3.725-5.025T23.95 6q5 0 7.7 2.775t2.7 6.675q0 2.4-1.025 4.35-1.025 1.95-3.275 4.1-2.45 2.35-2.95 3.6t-.55 4Zm2.4 12.5q-1.45 0-2.475-1.025Q20.45 41.95 20.45 40.5q0-1.45 1.025-2.475Q22.5 37 23.95 37q1.45 0 2.475 1.025Q27.45 39.05 27.45 40.5q0 1.45-1.025 2.475Q25.4 44 23.95 44Z" />
</svg>
),
DISABLED_SUSPICIOUS_ACTIVITY: (
<svg
xmlns="http://www.w3.org/2000/svg"
height="48"
width="48"
className="fill-red-600"
>
<path d="M21.55 31.5q.05-3.6.825-5.25.775-1.65 2.925-3.6 2.1-1.9 3.225-3.525t1.125-3.475q0-2.25-1.5-3.75t-4.2-1.5q-2.6 0-4 1.475T17.9 14.95l-4.2-1.85q1.1-2.95 3.725-5.025T23.95 6q5 0 7.7 2.775t2.7 6.675q0 2.4-1.025 4.35-1.025 1.95-3.275 4.1-2.45 2.35-2.95 3.6t-.55 4Zm2.4 12.5q-1.45 0-2.475-1.025Q20.45 41.95 20.45 40.5q0-1.45 1.025-2.475Q22.5 37 23.95 37q1.45 0 2.475 1.025Q27.45 39.05 27.45 40.5q0 1.45-1.025 2.475Q25.4 44 23.95 44Z" />
</svg>
),
DELETED: (
<svg
xmlns="http://www.w3.org/2000/svg"
height="48"
width="48"
className="fill-red-600"
>
<path d="M21.55 31.5q.05-3.6.825-5.25.775-1.65 2.925-3.6 2.1-1.9 3.225-3.525t1.125-3.475q0-2.25-1.5-3.75t-4.2-1.5q-2.6 0-4 1.475T17.9 14.95l-4.2-1.85q1.1-2.95 3.725-5.025T23.95 6q5 0 7.7 2.775t2.7 6.675q0 2.4-1.025 4.35-1.025 1.95-3.275 4.1-2.45 2.35-2.95 3.6t-.55 4Zm2.4 12.5q-1.45 0-2.475-1.025Q20.45 41.95 20.45 40.5q0-1.45 1.025-2.475Q22.5 37 23.95 37q1.45 0 2.475 1.025Q27.45 39.05 27.45 40.5q0 1.45-1.025 2.475Q25.4 44 23.95 44Z" />
</svg>
),
HIGH_GLOBAL_RATE_LIMIT: (
<svg
xmlns="http://www.w3.org/2000/svg"
height="48"
width="48"
className="fill-red-600"
>
<path d="M21.55 31.5q.05-3.6.825-5.25.775-1.65 2.925-3.6 2.1-1.9 3.225-3.525t1.125-3.475q0-2.25-1.5-3.75t-4.2-1.5q-2.6 0-4 1.475T17.9 14.95l-4.2-1.85q1.1-2.95 3.725-5.025T23.95 6q5 0 7.7 2.775t2.7 6.675q0 2.4-1.025 4.35-1.025 1.95-3.275 4.1-2.45 2.35-2.95 3.6t-.55 4Zm2.4 12.5q-1.45 0-2.475-1.025Q20.45 41.95 20.45 40.5q0-1.45 1.025-2.475Q22.5 37 23.95 37q1.45 0 2.475 1.025Q27.45 39.05 27.45 40.5q0 1.45-1.025 2.475Q25.4 44 23.95 44Z" />
</svg>
),
INTERNAL_APPLICATION: (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -398,6 +438,20 @@ const icons = {
<path d="M24 24.85 41 14v-3L24 21.65 7 11v3ZM38.65 46q-3.9 0-6.625-2.7T29.3 36.7q0-3.9 2.725-6.65 2.725-2.75 6.625-2.75t6.625 2.75Q48 32.8 48 36.7q0 3.9-2.725 6.6Q42.55 46 38.65 46ZM33 37.5h11.3v-2H33ZM7 40q-1.2 0-2.1-.925Q4 38.15 4 37V11q0-1.15.9-2.075Q5.8 8 7 8h34q1.15 0 2.075.925Q44 9.85 44 11v14.55q-1.1-.55-2.6-.9t-2.75-.35q-2.6 0-4.85.975-2.25.975-3.925 2.675-1.675 1.7-2.625 4.025T26.3 37q0 .7.125 1.525T26.75 40Z" />
</svg>
),
ACTIVE_DEVELOPER: (
<svg
width="48"
height="48"
viewBox="0 0 48 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.9443 8L8 12.9443V35.0558L12.9443 40H35.0556L40 35.0558V12.9443L35.0558 8H12.9443ZM21.7164 32.851H17.291C17.291 29.1904 14.3134 26.2128 10.6528 26.2128V21.7872C14.3134 21.7872 17.291 18.8097 17.291 15.1491H21.7164C21.7164 18.7808 19.9337 21.9816 17.2226 24C19.9337 26.0186 21.7164 29.2192 21.7164 32.851ZM37.3334 26.2128C33.6728 26.2128 30.6952 29.1904 30.6952 32.851H26.2696C26.2696 29.2192 28.0526 26.0186 30.7636 24C28.0526 21.9816 26.2696 18.7808 26.2696 15.1491H30.6952C30.6952 18.8097 33.6728 21.7872 37.3334 21.7872V26.2128Z"
fill="#2EA967"
/>
</svg>
),
PREMIUM_DISCRIMINATOR: (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1444,7 +1498,10 @@ export default function Data({ data, demo }: any): ReactElement {

<div className="mt-2">
<Image
src={process.env.NEXT_PUBLIC_DOMAIN + "/help/step_by_step.png"}
src={
process.env.NEXT_PUBLIC_DOMAIN +
"/help/step_by_step.png"
}
alt="steps"
height={550}
width={1000}
Expand Down Expand Up @@ -11470,7 +11527,7 @@ export default function Data({ data, demo }: any): ReactElement {
.replace(
/{your}/g,
data?.dataFile ? "Their" : "Your"
)
),
}}
/>
</div>
Expand Down
25 changes: 25 additions & 0 deletions components/json/badges/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,31 @@
"shift": 21,
"undocumented": true
},
"ACTIVE_DEVELOPER": {
"description": "{p_1} are a active developer",
"shift": 22,
"undocumented": false
},
"HIGH_GLOBAL_RATE_LIMIT": {
"description": "Account has a high global ratelimit",
"shift": 33,
"undocumented": true
},
"DELETED": {
"description": "Account has been deleted",
"shift": 34,
"undocumented": true
},
"DISABLED_SUSPICIOUS_ACTIVITY": {
"description": "Account has been disabled for suspicious activity",
"shift": 35,
"undocumented": true
},
"SELF_DELETED": {
"description": "Account was deleted by the user",
"shift": 36,
"undocumented": true
},
"PREMIUM_DISCRIMINATOR": {
"description": "{p_1} have a premium discriminator",
"shift": 37,
Expand Down
4 changes: 4 additions & 0 deletions components/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ class Utils {
"USED_WEB_CLIENT",
"USED_MOBILE_CLIENT",
"VERIFIED_EMAIL",
"ACTIVE_DEVELOPER",
],
[
"DISCORD_EMPLOYEE",
Expand Down Expand Up @@ -342,6 +343,7 @@ class Utils {
"USED_WEB_CLIENT",
"USED_MOBILE_CLIENT",
"VERIFIED_EMAIL",
"ACTIVE_DEVELOPER",
],
[
"DISCORD_EMPLOYEE",
Expand Down Expand Up @@ -376,6 +378,7 @@ class Utils {
"USED_DESKTOP_CLIENT",
"USED_WEB_CLIENT",
"USED_MOBILE_CLIENT",
"ACTIVE_DEVELOPER",
],
[
"MFA_SMS",
Expand All @@ -394,6 +397,7 @@ class Utils {
"USED_MOBILE_CLIENT",
"USED_WEB_CLIENT",
"VERIFIED_TRUE",
"ACTIVE_DEVELOPER",
],
];

Expand Down

0 comments on commit 1daaed7

Please sign in to comment.