$getGuildInvite
$getGuildInvite
will create a guild invite.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The guild ID of which the invite will be returned of. | false |
options? | string | Invite option object. | false |
Invite Target Types
TYPE | VALUE |
---|---|
STREAM | 1 |
EMBEDDED_APPLICATION | 2 |
Example(s)
This will create an invite of the channel where the command is executed in:
Advanced Example
Create Temporary Invites with limited uses: