1 |
--- |
2 |
title: Frequently Asked Questions |
3 |
short_name: FAQ |
4 |
--- |
5 |
|
6 |
# Frequently Asked Questions |
7 |
|
8 |
Here is a collection of questions that are asked frequently. Let us know if you think we're missing something. |
9 |
|
10 |
### Why do I get errors when running `npm start`? |
11 |
|
12 |
The reasons might be: |
13 |
|
14 |
- You forgot to install the dependencies by running: `npm install -D` |
15 |
- You forgot to build the bot: `npm run build` |
16 |
- The bot started up but one of the configuration value is invalid. See [Why am I getting errors when starting the bot?](#why-am-i-getting-errors-when-starting-the-bot). |
17 |
|
18 |
We always recommend to check the [Getting Started](/getting-started) page if you're using the bot for the first time. |
19 |
|
20 |
### Why am I getting errors when starting the bot? |
21 |
|
22 |
The reasons might be: |
23 |
|
24 |
- You have a syntax error in one of your configuration files (`config.json` or `system.json`). Double check your JSON syntax. Editors and IDEs like VS Code should highlight the errors if you have any. |
25 |
- You have set an option to an invalid value. In that case, check the error message for more information about which option received the invalid value. |
26 |
- You have an invalid value in one of the environment variables or in `.env`. For example, maybe you have a typo in your database URL. Double check all the credentials. |
27 |
|
28 |
If none of these steps help, please be sure to let us know, by creating a GitHub issue. |
29 |
|
30 |
### How do I add emojis in the bot's responses? |
31 |
|
32 |
Download the official SudoBot emojis and add them to your **home server**: [https://downloads.onesoftnet.eu.org/osn/sudo/emojis](https://downloads.onesoftnet.eu.org/osn/sudo/emojis).<br /> |
33 |
License information: [https://downloads.onesoftnet.eu.org/osn/sudo/emojis/README](https://downloads.onesoftnet.eu.org/osn/sudo/emojis/README). |
34 |
|
35 |
### How can I add the official SudoBot to my own server? |
36 |
|
37 |
To invite SudoBot to your own server, you need to first read the [Terms of Service](legal/terms.md), then if you accept the Terms of Service, you can [join the Discord Server](https://sudobot.online/discord) or [send a DM to Rakin on Discord](https://discord.com/users/774553653394538506). |