$isValidInvite
$isValidInvite
will check if the given invite is valid.
Usage
$isValidInvite[inviteResolver]
Parameters
Field | Type | Description | Required |
---|---|---|---|
inviteResolver | string | Guild invite link. | true |
Example(s)
This will return true
as https://discord.gg/aoi-js-server-akarui-development-team-773352845738115102
is an valid
invite:
1client.command({2 name: "isValidInvite",3 code: `4 $isValidInvite[https://discord.gg/aoi-js-server-akarui-development-team-773352845738115102]5 `6});