Meet James, the Discord Bot made specifically for the Endless Sky Server.
- A JDK (recommended Java 8 or better)
- gradle on Linux, on Ẃindows use depr_gradlew.bat instead
- Python 2.7+ and the requests module
- Clone or fork this repository
- Using the Discord API, make a new Bot and save the "bot token" as token.txt in James' top-level directory (follow this guide until "2. Setup JDA Project")
- Get missing API keys. Some commands (Such as the wav conversion) won't run without these keys. See 'keys.txt' for more
- Replace the 'HOST_RAW_URL' and 'HOST_PUBLIC_URL' and 'CONTENT_URL' strings with relevant URL destinations
- Start James by executing
gradle run
ordepr_gradlew run
. Note: if you get an error about missing parentheses, you most likely run python3 as standart python exectubale. Either install python2.7 or, on linux, replace 'python' in build.gradle with 'python2.7'
- Displays portions of the Endless Sky data files (Ships & their variants, Outfits, Sprites/Thumbnails, Missions)
- Links to PRs, commits and issues of the Endless Sky repository
- Links to the wiki at endless-sky.wikia.com
- Performs text corrections based on the contents of '/data/spellErrors.txt'
- Posts both text- and image-based memes (limited to those defined in /data/)
- Basic Moderation Commands (currently only message purging, but more to come)
- Reacts when Members join/leave/get banned and gives them the merchant role, if necessary (disabled for now)
- Converts audio files to ES-compatible .wav files
- Some fun commands (random dogs and cats, NASA pictures, etc.)
- Full Music Player functionality using lavaplayer
Original Creator: @Wrzlprnft
Original Maintainer / Hoster: @Nechochwen-D
Current Maintainer / Hoster: @MCOfficer
Contributors / PR Bots:
- @tehhowch
24/7 Development Support: @MinnDevelopment and the JDA Discord Server