-
-
Notifications
You must be signed in to change notification settings - Fork 1
Nexus.R
React Native + Svelte for Discord Bots. Nexus.R (React) is a Kotlin-only feature that enables developers to respond to slash commands more intuitively akin to web development. In addition, Nexus.R supports a simple and minimal state system (writable) that enables you to update the Discord message by simply changing a writable's value.
- Write-once, Use Everywhere
- Nexus.R allows you to easily reuse responses whether it was written for slash commands or for messages with hardly any changes.
- States in Discord Bot
- Nexus.R introduces the infamous states of JavaScript world into Discord bots, allowing you to create messages that will re-render itself upon different state changes, just like a reactive website!
- Webdev-like Feel
- In order to make Discord bot development more accessible to even web developers, we've made the feature feel like writing web code (JSX) but simpler!
Nexus.R is simple enough for most developers that you can simply read the code and you'll understand. If you prefer to learn by reading examples, we recommend reading the examples.
All information in this wiki was written during v1.2.0, we recommend updating to that version if you are below, or creating an issue in GitHub, updating the wiki if the current information is missing, outdated or lacking.
To get started with Nexus, we recommend reading the following in chronological:
- Installation & Preparing Nexus
- Designing Commands
- Command Interceptors
- Additional Features (Subcommand Router, Option Validation)
- Context Menus
- 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:
- Subcommand Routing
- Option Validation
- Express Way (shard management)
- Inheritance
- Feather Pagination
- Nexus.R
You can read about synchronizing commands to Discord:
For more additional performance:
Additional configurations: