Kord Extensions Help

Getting Started

Before getting started, please ensure you have the following installed:

For New Projects

If you're starting a new project, we highly recommend that you use the template project.

If you have a GitHub account, you can click the "Use this template" button to quickly create a new repository using the contents of the template project. This will get you started quickly, with a basic bot provided for you to play with.

Alternatively, you can clone or download the repository and push it up to any repository host with your tooling of choice.

For Existing Projects

First, add the KordEx Gradle plugin to your build.gradle.kts.

plugins { id("dev.kordex.gradle.kordex") version "1.4.2" }

Then, configure it as needed. At minimum, you should specify your bot's main class, via the mainClass property in the bot builder. You may also wish to configure the Data Collection level.

kordEx { bot { dataCollection(DataCollection.Standard) mainClass = "my.package.here.FileWithMainFunctionKt" } }

For more information on the Gradle plugin, what it does and how to configure it, please see the KordEx plugin documentation.

Last modified: 03 September 2024