Plugins
{ticket} Tags
{ticket.authorId;channel}
Gets the ID of the ticket's author, if one is in context.
| Name | Type | Default | Description |
|---|---|---|---|
| ticket | Ticket | context Ticket | The ticket you want to get the author ID of. |
{ticket.channelId}
Gets the ID of the ticket's channel, if one is in context.
| Name | Type | Default | Description |
|---|---|---|---|
| ticket | Ticket | context Ticket | The ticket you want to get the channel ID of. |
{ticket.close;channel} mutateChannel
Close the ticket channel.
| Name | Type | Default | Description |
|---|---|---|---|
| ticket | Ticket | context Ticket | The ticket you want to close. |
{ticket.create} mutateChannel
Open the ticket channel.
| Name | Type | Default | Description |
|---|---|---|---|
| user | User? | Context User | The user you are creating this ticket for. |
| reason | string? | The reason you are creating this ticket. | |
| returnId | boolean | false | Whether to return the created tickets id. |
| prefix | string? | The prefix to set. |
{ticket.prefix;channel;prefix} mutateChannel
Add a prefix to the beinging of the ticket channel's name. Leave prefix blank to return the current prefix.
| Name | Type | Default | Description |
|---|---|---|---|
| ticket | Ticket | context Ticket | The ticket you want to add a prefix to. |
| prefix | string | The prefix to add to the channel name. If blank, the prefix is removed. If unset, the ticket prefix is returned. |
{ticket.reason;ticket}
Gets the reason of the ticket, if one is in context.
| Name | Type | Default | Description |
|---|---|---|---|
| ticket | Ticket | context Ticket | The ticket you want to get the reason of. |