{
guild: {
id: string;
name: string;
icon?: string;
};
member: {
id: string;
username: string;
discriminator: string;
avatar: string;
bot: boolean;
joinedAt: number;
createdAt: number;
};
inviter: {
type: "user" | "vanity" | "unknown" | "oauth2";
user?: { // only if type = user
id: string;
username: string;
discriminator: string;
avatar?: string;
bot?: boolean;
};
invites?: { // only if type = user
total: number,
leaves: number,
fake: number,
bonus: number,
joins: number,
rank?: number // might not be shown, do no rely on it
},
code?: string // only if vanity or user
},
fakeData: {
isFake: boolean, // if the join has been counted as fake
code: number // bitfield telling why the join has been counted as fake
}
}
👥Members
members.join
This webhook is fired every time someone joins your server
{
"botID": "637662603564417024",
"type": "member.join",
"data": {
"guild": {
"id": "759100646120751124",
"name": "test invitelogger",
"icon": null
},
"member": {
"id": "525813997241630732",
"username": "chaun1403",
"discriminator": "0",
"avatar": "https://cdn.discordapp.com/avatars/525813997241630732/680097c6af2890418164a9d7bd3bd91b.webp?size=128",
"bot": false,
"joinedAt": 1694953136345,
"createdAt": 1545434226094
},
"inviter": {
"type": "user",
"user": {
"id": "417977361011572747",
"username": "chaun14",
"discriminator": "0",
"avatar": null,
"bot": false
},
"invites": {
"total": 239,
"leaves": 7,
"fake": 4,
"bonus": 240,
"joins": 10
},
"code": "RMJpYgzz"
},
"fakeData": {
"isFake": true,
"code": 16
}
},
"timestamp": 1694953134956
}
members.leave
This webhook is fired every time someone leaves your server
{
guild: {
id: string;
name: string;
icon?: string;
};
member: {
id: string;
username: string;
discriminator: string;
avatar: string;
bot: boolean;
joinedAt: number;
createdAt: number;
};
inviter: {
type: "user" | "vanity" | "unknown" | "oauth2";
user?: { // only if type = user
id: string;
username: string;
discriminator: string;
avatar?: string;
bot?: boolean;
};
invites?: { // only if type = user
total: number,
leaves: number,
fake: number,
bonus: number,
joins: number,
rank?: number // might not be shown, do no rely on it
},
code?: string // only if vanity or user
},
}
{
"botID": "637662603564417024",
"type": "member.leave",
"data": {
"guild": {
"id": "759100646120751124",
"name": "test invitelogger",
"icon": null
},
"member": {
"id": "525813997241630732",
"username": "izzitox",
"discriminator": "0",
"avatar": "https://cdn.discordapp.com/avatars/525813997241630732/680097c6af2890418164a9d7bd3bd91b.webp?size=128",
"bot": false,
"joinedAt": 1694953089631,
"createdAt": 1545434226094
},
"inviter": {
"type": "user",
"user": {
"id": "417977361011572747",
"username": "chaun14",
"discriminator": "0",
"avatar": "https://cdn.discordapp.com/avatars/417977361011572747/a_758f6228a02b2b714baeb10dde7f17c4.webp?size=128",
"bot": false
},
"invites": {
"total": 239,
"leaves": 7,
"fake": 3,
"bonus": 240,
"joins": 9
},
"code": "RMJpYgzz"
}
},
"timestamp": 1694953120091
}
members.fakeUpdate
This webhook is fired every time someone's join become non fake (i.e when there is a role requirement fake parameter)
{
guild: {
id: string;
name: string;
icon?: string;
};
member: {
id: string;
username: string;
discriminator: string;
avatar: string;
bot: boolean;
joinedAt: number;
createdAt: number;
};
inviter: {
type: "user" | "vanity" | "unknown" | "oauth2";
user?: { // only if type = user
id: string;
username: string;
discriminator: string;
avatar?: string;
bot?: boolean;
};
invites?: {
total: number,
leaves: number,
fake: number,
bonus: number,
joins: number,
rank?: number // might not be shown, do no rely on it
},
code?: string // only if vanity or user
},
fakeData: {
before: {
isFake: boolean,
code: number
},
after: {
isFake: boolean,
code: number
}
}
}
{
"botID": "637662603564417024",
"type": "member.fakeUpdate",
"data": {
"guild": {
"id": "759100646120751124",
"name": "test invitelogger",
"icon": null
},
"member": {
"id": "525813997241630732",
"username": "izzitox",
"discriminator": "0",
"avatar": "https://cdn.discordapp.com/avatars/525813997241630732/680097c6af2890418164a9d7bd3bd91b.webp?size=128",
"bot": false,
"joinedAt": 1694953136345,
"createdAt": 1545434226094
},
"inviter": {
"type": "user",
"user": {
"id": "417977361011572747",
"username": "chaun14",
"discriminator": "0",
"avatar": "https://cdn.discordapp.com/avatars/417977361011572747/a_758f6228a02b2b714baeb10dde7f17c4.gif?size=128",
"bot": false
},
"invites": {
"total": 239,
"leaves": 7,
"fake": 4,
"bonus": 240,
"joins": 10
}
},
"fakeData": {
"before": {
"isFake": true,
"code": 16
},
"after": {
"isFake": false,
"code": 0
}
}
},
"timestamp": 1694953157824
}
Last updated