Skip to content

$isValidInvite

$isValidInvite will check if the given invite is valid.

Usage

$isValidInvite[inviteResolver]

Parameters

FieldTypeDescriptionRequired
inviteResolverstringGuild invite link.true

Example(s)

This will return true as https://discord.gg/aoi-js-server-akarui-development-team-773352845738115102 is an valid invite:

1
client.command({
2
name: "isValidInvite",
3
code: `
4
$isValidInvite[https://discord.gg/aoi-js-server-akarui-development-team-773352845738115102]
5
`
6
});