-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Setup
John Grosh edited this page Nov 17, 2017
·
28 revisions
- Java JDK 1.8 (not OpenJDK)
- Instructions on how to install JDK 8 on your system: Installing-JDK1.8
Download the latest JMusicBot-X.Y.Z.jar (and optionally, example config.txt file) from the releases page.
- Download the JMusicBot-X.Y.Z.jar file (and the config.txt, optional) from the releases page. Your folder should look like this:
- Fill in the config file (if you downloaded it). If you didn't download it, you will be prompted when you run for the first time. An example
config.txt
is provided below (See Getting a Bot Token and Finding Your User ID if you need help with the config).
token=MJHJkljflksdjfCoolTokenDudeILikeItkasdk
owner=113156185389092864
prefix=!
- Double-click the jar file, or run
java -jar JMusicBot-X.Y.Z.jar -nogui
from the command line. (replace X, Y, and Z with the release numbers) - Provide the requested information, if prompted.
- Wait for the "Finished Loading" message.
- Add the bot to your server. From the bot application page (where you got the token), find the Client ID and insert it in this link, replacing APP_ID:
https://discordapp.com/oauth2/authorize?client_id=APP_ID&scope=bot
. If your bot has not been added to any guilds, a link will be provided in the console for you.