BopBot is a customised JMusicBot instance for Adrian and friends.
- Oracle JDK 8 (OpenJDK support not guaranteed)
- Environment variables set (JAVA_HOME=X.Y.Z; PATH, etc. where X.Y.Z is version number)
Verify install with java -version
- version => 1.8.0
- Clone the modified JLyrics dependency
git clone https://github.com/aidswidjaja/JLyrics.git
- Build the JLyrics dependency
cd JLyrics
mvn clean package
- Install the JLyrics dependency in your local maven repository - this installs the jar to
~/.m2/repository/com/jagrosh/JLyrics/0.5/JLyrics-0.5.jar
mvn install:install-file -Dfile=/path/to/dir/.../JLyrics/target/JLyrics-0.5-jar-with-dependencies.jar -DgroupId=com.jagrosh -DartifactId=JLyrics -Dversion=0.5 -Dpackaging=jar
- Build to jar
# if pwd == JLyrics then cd out of it
cd bopbot
mvn clean package
- Run jar with arguments
# if pwd != bopbot then run `cd bopbot`
java -Dnogui=true -jar target/JMusicBot-Snapshot-All.jar
- Age-restricted videos on YouTube can't be played right now - waiting for #649
- SoundCloud tracks might sometimes not work - waiting for #650
Copyright 2016-2021 John Grosh (jagrosh).
Copyright 2021 aidswidjaja.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.