-
-
Notifications
You must be signed in to change notification settings - Fork 68
Windows
The installation on Windows is a little bit more involved compared to the other platforms. I myself encountered some errors on my test machine and could not continue. However, the described guide should work and bring the bot online on your Windows PC.
If you have a machine that runs Linux, or macOS, or you have a Raspberry Pi lying around, I personally highly recommend using that instead.
-
Download Node.js. Go to the website and click on the left button to download the "LTS" version which is recommended for most users.
-
Install Node.js from the Installer. !!! Make sure to choose the
Add to PATH
option. !!! -
Download the newest version of the Soundbot as a
.zip
from here. Unpack the archive, for example onto your Desktop. -
Take a look at the
config.example.json
file inside theconfig
folder. Copy it toconfig.json
, change the configuration to your liking and enter yourClient ID
andToken
as described here. -
Since the bot is using voice functionality, you will need to install FFmpeg. Follow this link and download the
win64
build. -
Copy the files in the downloaded archive into the root of the soundbot folder as depicted below.
-
Open the Command Prompt as an Administrator. From you Windows Start Menu, just type
cmd
, right click on theCommand Prompt
entry and selectRun as administrator
. -
You should see a window that looks similar to the left picture below with the path
C:\WINDOWS\system32
. Install thewindows-build-tools
by typing innpm install --global --production --vs2015 --add-python-to-path windows-build-tools
as shown in the screenshot.
! This step will take some time. !
In the end, it should look like the second picture below. -
Inside the command prompt, navigate to the folder where you unpacked the archive. This is done by using the
cd
command. In the screenshot below, the archive was unpacked on the desktop, so the correct command iscd \Users\Marko\Desktop\discord-soundbot-{VERSION}
. -
Install
yarn
withnpm install -g yarn
. Install the remaining dependencies by executing the commandyarn install
. You can ignore messages that some "peer dependencies" are missing, since they are optional. -
Finally, start the bot with
yarn start
. The bot should print a message similar to this.
Use the following URL to let the bot join your server!
https://discordapp.com/oauth2/authorize?client_id={YOUR_CLIENT_ID}&scope=bot
-
Follow the link and add the bot to your server.
-
Start adding sounds and have fun!
Need help? Join us on Discord!