Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

d-g-n/d4jexamplebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

d4jexamplebot

A basic click-to-run bot using D4J v2.

Note: the v2 api is deprecated and not in active development anymore, this repo will be left for reference but as v3 is a total paradigm shift this bot will not be directly updated, please see the d4j docs for more information

Import project

IntelliJ import step 1

IntelliJ import step 2

If you get this view with no SDK to choose from, click on the green plus sign and select your jdk folder, you should end up with this:

IntelliJ SDK view

How to run

Import the project as a maven project into your IDE of choice.

Once imported, either build it as a jar or run it from your IDE. When unning the bot, the first argument of the exec must be your token.

When running as a jar: java -jar builtjar.jar TOKENHERE

When running from an IDE:

IntelliJ:

IntelliJ Example

Eclipse:

Eclipse Example

How to build

A fatjar can be built through maven simply by running the mvn package goal in whatever manner your IDE requires.

About

A basic click-to-run bot using D4J v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages