@@ -9,7 +9,7 @@ description: Troubleshooting tips and solutions to common problems
9
9
After setting the ` DB_PROVIDER ` and ` DB_CONNECTION_URL ` environment variables, ` prisma migrate deploy ` needs to be run.
10
10
11
11
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 ` .
13
13
14
14
## Current working directory
15
15
@@ -58,6 +58,12 @@ If you misuse this feature, you may encounter some of the following problems:
58
58
59
59
To resolve these problems, ` cd ` into the directory where your files are stored before starting the bot.
60
60
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
+
61
67
## ` fetch failed `
62
68
63
69
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
78
84
This will remove any roles from the category that no longer exist.
79
85
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.
80
86
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: -->
81
95
82
96
!!! question "Still need help?"
83
97
If this page didn't resolve your issue,
0 commit comments