InviteLogger api
Support server
  • Welcome!
  • Miscellaneous
  • Authentication
  • Reference
    • Endpoints
      • Invites
      • Miscellaneous
    • Resources
      • Fake codes
  • 🪝Webhooks
    • Introduction
    • Content
      • 👥Members
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Reference
  2. Resources

Fake codes

PreviousResourcesNextIntroduction

Last updated 2 years ago

Was this helpful?

To know the reason of why each invite has been considered as fake, the fakeCode field gives a bitwise code (same way as discord permission system)

Name
Value
Description
Default true
Gold

YOUNG

1 (1 << 0)

User account has been created too recently

SELF

2 (1 << 1)

User has joined using their own invite code

NOPFP

4 (1 << 2)

User doesn't have a customized profile picture

ALREADYJOINED

8 (1 << 3)

Has joined the server in the past

REQUIREROLE

16 (1 << 4)

Account needs to recieve a specific role to be marked as valid

🏅

REQUIREDCVERIF

32 (1 << 5)

Account needs to be verified through double counter discord bot

🏅

Using bitfields in JavaScript for Simple Permission SystemsMedium
Logo