$createChannelInvite
$createChannelInvite
will create a channel invite.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | The channel ID of which the invite will be created. | false |
options? | object | Invite options. | 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(s)
Create Temporary Invites with limited uses:
Create Activity Invites: