This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Configuring and running
Cole Bryant edited this page Sep 18, 2020
·
12 revisions
Before you do anything, you need to create a bot user to host ghost2 on. Go to Discord's developer page, create a bot, and copy the token for it. See this guide if you need help.
To configure ghost2, you need to give it a properties file. Create ghost.properties
next to your .jar
file (or in src/main/resources
, if you're a developer). Valid configuration properties can be found in the table below.
key | description | source (if applicable) |
---|---|---|
ghost.token |
Bot token. | https://discord.com/developers/ |
ghost.keys.watch2gether |
Watch2Gether API key, used for generating Watch2Gether rooms. | Click "Edit profile" on your Watch2gether account page |
ghost.keys.youtube |
YouTube Search API key | https://developers.google.com/youtube/v3 |
ghost.keys.watson |
IBM Watson Translator API key | https://cloud.ibm.com/apidocs/language-translator |
ghost.keys.watson-url |
IBM Watson Translator endpoint | https://cloud.ibm.com/apidocs/language-translator |
Tagged GitHub releases come bundled with a self-contained .jar file and a start script. All you need to do is extract the release, drop ghost2.properties
into the folder, and run the start script.