A public discord music bot.
-
Compile using maven
mvn clean package
-
Create
config.toml
dev = true if development instance token = "Bot application token" owner = "Owner discord user id" regex = "Command parser regex pattern" game = "Current playing game" invite = "Bot invite link" about = "About text" join = "Server join message" carbon = "carbonitex.net api key" dbots = "bots.discord.pw api key"
Sample pattern:
^\\?([a-zA-Z]+)(?:\\s+)?(.*)?
- for?
as the prefix. -
Create
hikari.properties
dataSourceClassName=org.postgresql.ds.PGSimpleDataSource dataSource.user= dataSource.password= dataSource.databaseName= dataSource.portNumber= dataSource.serverName=
-
Run the bot
java -jar target/JavaMusicBot.jar
Dependencies are managed by Maven. See the maven pom.xml file.
Licensed under Creative Commons Attribution NonCommercial (CC-BY-NC). See the LICENSE
file in the root directory for
full license text.
License summary (not legal advise, read the full license)
Source: tldrlegal.com