Skip to content

Commit a76583b

Browse files
committed
new placeholders, combobox, public bot warning
1 parent c4af713 commit a76583b

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

docs/configuration/categories/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Use this to provide and ask for information, such as stating what is expected of
130130

131131
#### Available placeholders
132132

133+
- `{num}`/`{number}`
133134
- `{name}`/`{username}` (the creator)
134135
- `{avgResponseTime}` (for this category only)
135136
- `{avgResolutionTime}` (for this category only)

docs/configuration/panels.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
</small>
1313

1414
The selected categories will be the options available to users through the buttons or select menu.
15-
16-
--8<-- "includes/multi-select.md"
15+
This field is a combobox; you can type to filter the options, and the order you select is respected.
1716

1817
### Channel
1918

docs/features/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Switching from another bot? See how Discord Tickets is different from other popu
4040
[`Staff`](#concept:staff){ #concept:staff }
4141
: A staff member is any member who has at least 1 role that is assigned to any ticket category within the guild.
4242

43+
## Your data
44+
45+
Settings and data can be exported and imported through the Portal webapp.
4346

4447
## Ticket creation
4548

docs/self-hosting/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ The activity name, which may contain these placeholders:
271271

272272
- `#!yaml {avgResolutionTime}`
273273
- `#!yaml {avgResponseTime}`
274+
- `#!yaml {guilds}`
274275
- `#!yaml {openTickets}`
275276
- `#!yaml {totalTickets}`
276277

docs/self-hosting/troubleshooting.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: Troubleshooting tips and solutions to common problems
99
After setting the `DB_PROVIDER` and `DB_CONNECTION_URL` environment variables, `prisma migrate deploy` needs to be run.
1010

1111
This can be done manually but it is recommended to leave it to the `npm run postinstall` script.
12-
You can run this directly, but it will also be run automatically when you run `npm install`.
12+
You can run this directly, but it will also be run automatically when you re-run `npm install`.
1313

1414
## Current working directory
1515

@@ -58,6 +58,12 @@ If you misuse this feature, you may encounter some of the following problems:
5858

5959
To resolve these problems, `cd` into the directory where your files are stored before starting the bot.
6060

61+
## Public bot
62+
63+
If your bot is public, anyone is able to add the bot to their Discord server and use your resources.
64+
You can set the bot to private (so only you can add it to servers) on the *Bot* page in the
65+
[Developer Portal](https://discord.com/developers/applications).
66+
6167
## `fetch failed`
6268

6369
If you're seeing this when attempting to load the Portal webpage, it usually means that the [`HTTP_EXTERNAL`](./configuration.md#http_external)
@@ -78,6 +84,14 @@ This can be resolved by navigating to the settings page of each of your categori
7884
This will remove any roles from the category that no longer exist.
7985
If the category's only staff role was deleted, you will need to assign at least one new role before you can save the settings.
8086

87+
## Missing permissions
88+
89+
This error most often occurs when the bot attempts to create or edit a channel.
90+
To resolve it, make sure the bot's role has `Manage Channels` and `Manage Roles` permission,
91+
both in the server settings and in the category's overrides.
92+
In the server settings, the bot's role should be at the top of the role list, above all of your staff roles.
93+
94+
<!-- TODO: -->
8195

8296
!!! question "Still need help?"
8397
If this page didn't resolve your issue,

0 commit comments

Comments
 (0)