ZcreateInviteWithRoles
Creates an invite that auto-assigns the given roles when someone joins through it.
Syntax
ZcreateInviteWithRoles{channelID;roleIDs;maxAgeDays?}Arguments
| Name | Type | Required | Default |
|---|---|---|---|
| channelID | snowflake | Yes | - |
| roleIDs | string | Yes | - |
| maxAgeDays | integer | No | 0 |
Example
ZcreateInviteWithRoles{123456789012345678;123,456;7}