Interface SupplementalGuildMember

interface SupplementalGuildMember {
    integrationType?: null | "twitch" | "youtube" | "discord" | "guild_subscription";
    inviterID: null | string;
    joinSourceType: MemberJoinSourceType;
    member: Member;
    sourceInviteCode: null | string;
}

Properties

integrationType?: null | "twitch" | "youtube" | "discord" | "guild_subscription"

The type of integration that added the user to the guild, if applicable

inviterID: null | string

The ID of the user who invited the user to the guild, if applicable

joinSourceType: MemberJoinSourceType

How the user joined the guild

member: Member

The associated guild member

sourceInviteCode: null | string

The invite code or vanity used to join the guild, if applicable