Skip to content

$memberExists

$memberExists check if a given user is member of the given guild.

Usage

$memberExists[userID;guildID?]

Parameters

FieldTypeDescriptionRequired
userIDnumberid of the user you want to check if they’re currently a member of the given servertrue
guildID?numberthe server where the user is present infalse

Example(s)

This will return true as you’re currently in this guild:

1
client.command({
2
name: "memberExists",
3
code: `
4
$memberExists[$authorid;$guildID]
5
`
6
});