$memberExists
Returns `true` if the ID of the defined member exists in the defined guild or the guild the command is executed in. Otherwise, the function returns `false`.

FUNCTION USAGE

  • $memberExists[userID]
  • $memberExists[userID;guildID]

Properties:

userID - The ID of the member being checked. guildID - The ID of the guild being checked.

Example 1: Checking if the member exists in the guild the command is executed in.

1
bot.Command({
2
name: "memberexists",
3
code: `
4
$memberExists[$authorID]
5
`
6
})
Copied!

Example 2: Checking if the member exists in the defined guild.

1
bot.Command({
2
name: "memberexists",
3
code: `
4
$memberExists[$authorID;2847560284654788]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: