$isValidInvite
Returns true if the server invite link is valid or exists.

FUNCTION USAGE

  • $isValidInvite[invite]

Properties:

invite - A server invite link or code

Example 1: Using just the invite code

1
bot.Command({
2
name: "msg",
3
code: `
4
$isValidInvite[6HoPA7N09l]
5
`
6
})
Copied!
1
bot.Command({
2
name: "msg",
3
code: `
4
$isValidInvite[discord.gg/6HoPA7N09l]
5
`
6
})
Copied!
1
bot.Command({
2
name: "msg",
3
code: `
4
$isValidInvite[https://discord.gg/6HoPA7N09l]
5
`
6
})
Copied!
Last modified 10mo ago
Copy link
Contents
Properties: