Skip to content

fietser97/spring-javacord-jpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Javacord springboot template project

This project was create for people to quickly set up a discordbot. The project has javacord, jpa, hamcrest (testing) and H2 as default database.

Getting Started

Things to do after cloning the project.

  • Rename the folder com.example.springbootjavacord to: com."yourname"."botname" in intellij use shift+f6 and choose rename whole package
  • Do the same in the pom.xml
<groupId>com."yourname"</groupId>
<artifactId>"botname"</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>"botname"</name>
<description>"description of bot"t</description>
  • In the logback.xml find "example" and give your logs a proper name
  • In the application properties set your token, change the db file name or use a real database
  • The project has example classes to show how it works.

By default the project is set for java 16. In the pom.xml file you can set it to java 11 with the xml below

<configuration>
    <source>11</source>
    <target>11</target>
</configuration>

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

Template project for starting with springboot, javacord and h2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages