What's Changed
- dependency: Update fabricmc by @renovate in #480
- dependency: Update dependency net.dv8tion:JDA to v5.2.2 by @renovate in #505
- GH-507 Support JDA fast guild commands registration and add example for the jda platform. by @Rollczi in #508
Now you can set a guild id to update commands instantly!
LiteCommands<User> liteCommands = LiteJDAFactory.builder(jda)
.settings(settings -> settings
.guilds("GUILD_ID") // <- If you want to update commands instantly, you can specify the id of your guild
)
.commands(
new SomeCommand(),
new LevelCommand()
)
.build();
Update dependencies
implementation("dev.rollczi:{artifact}:3.9.6")
<dependency>
<groupId>dev.rollczi</groupId>
<artifactId>{artifact}</artifactId>
<version>3.9.6</version>
</dependency>
{artifact}
with platform artifact
Full Changelog: v3.9.5...v3.9.6