Skip to content

warp-core/EndlessSky-Discord-Bot

 
 

Repository files navigation

EndlessSky-Discord-Bot

Build Status license

Meet James, the Discord Bot made specifically for the Endless Sky Server.

Installation

Requirements

  • A JDK (recommended Java 8 or better)
  • gradle on Linux, on Ẃindows use depr_gradlew.bat instead
  • Python 2.7+ and the requests module

Setup

  1. Clone or fork this repository
  2. 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")
  3. Get missing API keys. Some commands (Such as the wav conversion) won't run without these keys. See 'keys.txt' for more
  4. Replace the 'HOST_RAW_URL' and 'HOST_PUBLIC_URL' and 'CONTENT_URL' strings with relevant URL destinations
  5. Start James by executing gradle run or depr_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'

Features

  • 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

Credit

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

About

James, the Discord Bot for Endless-Sky.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 90.4%
  • Shell 4.9%
  • Batchfile 1.7%
  • JavaScript 1.5%
  • Python 1.5%