Skip to content
Miu edited this page Aug 15, 2023 · 6 revisions

Nexus

Slash Commands for Javacord, simplified.

Nexus is a Javacord framework, written in Kotlin-Java, designed to enable developers to add slash commands to their Discord bots with simplicity. It is the successor of the Velen framework and takes an "object-based" approach to designing commands.

In this wiki, you'll learn how to set up Nexus on your Discord bot, including adding slash commands and other related details. To begin your journey with Nexus, we recommend following these sections in order (all code samples are written in Kotlin):

  1. Installation & Preparing Nexus
  2. Designing Commands
  3. Command Interceptors
  4. Additional Features (Subcommand Router, Option Validation)
  5. Command Synchronization

To get started with Nexus, we recommend reading the following in chronological:

  1. Installation & Preparing Nexus
  2. Designing Commands
  3. Command Interceptors
  4. Additional Features (Subcommand Router, Option Validation)
  5. Context Menus
  6. Command Synchronization

You may want to read a specific part of handling command and middleware responses:

You can also read about additional features of Nexus:

You can read about synchronizing commands to Discord:

For more additional performance:

Additional configurations:

Clone this wiki locally