$memberJoinedCode
retrieve the invite code, which the user join from
Usage
$memberJoinedCode[User ID;Info Type (default code)]
Info Type:
Accepted ones are:
code: return the invite code if exists, like Zbhzxfcode_url: return the invite url if exists, likehttps://discord.gg/Zbhzxftype: return the invite type, one of these values (bot-invite, integration, discovery, student-hub, invite-link, invite-link-custom, manual-verification, unknown)inviter: return the inviter id if exists
Example:
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 3 seconds |
| 🆔 Tracked By | Server |
| 🌐 Scope | Search |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.