Skip to content

ducc/BorkedJavaMusicBot

Repository files navigation

dabBot CircleCI

A public discord music bot.

Setup

  1. Compile using maven

     mvn clean package        
    
  2. 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.

  3. Create hikari.properties

     dataSourceClassName=org.postgresql.ds.PGSimpleDataSource
     dataSource.user=
     dataSource.password=
     dataSource.databaseName=
     dataSource.portNumber=
     dataSource.serverName=
    
  4. Run the bot

     java -jar target/JavaMusicBot.jar
    

Dependencies

Dependencies are managed by Maven. See the maven pom.xml file.

License

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

Releases

No releases published

Packages

No packages published

Languages