These are the versions of all exposed dependencies related to the aluna-spring-boot-starter version.
aluna-spring-boot-starter | JDA | Spring Boot | Kotlin | Emoji Library | nanoid-kotlin |
---|---|---|---|---|---|
1.1.10 |
|||||
1.1.9 |
|||||
1.1.8 |
|||||
1.1.7 |
For older versions, please have a look at the VERSION.md
Gradle:
dependencies {
implementation 'io.viascom.discord.bot:aluna-spring-boot-starter:1.1.10'
}
Maven:
<dependency>
<groupId>io.viascom.discord.bot</groupId>
<artifactId>aluna-spring-boot-starter</artifactId>
<version>1.1.10</version>
</dependency>
@Interaction
class PingCommand : DiscordCommand("ping", "Send a ping") {
override fun execute(event: SlashCommandInteractionEvent) {
event.reply("Pong\nYour locale is:${this.userLocale}").queue()
}
}
@Interaction
class PingCommand : DiscordCommand("ping", "Send a ping") {
override fun execute(event: SlashCommandInteractionEvent) {
event.reply("Pong\nYour locale is:${this.userLocale}").setComponents(ActionRow.of(primaryButton("hi", "Hi")))
.queueAndRegisterInteraction(hook, this)
}
override fun onButtonInteraction(event: ButtonInteractionEvent): Boolean {
if (event.componentId == "hi") {
event.editMessage("Oh hi :)").removeActionRows().queue()
}
return true
}
}
aluna:
discord:
token: <insert your token here>
logging:
level:
io.viascom.discord.bot.aluna: DEBUG
io.viascom.discord.bot.aluna.event.EventPublisher: INFO #Set to DEBUG to show all published events
io.viascom.discord.bot.aluna.bot.handler.AlunaLocalizationFunction: INFO #Set to DEBUG to show translation keys for interactions
This project is developed by Viascom using the Semantic Versioning specification. For the versions available, see the releases on this repository.
See also the list of contributors who participated in this project. 💕
See CONTRIBUTING.md file.
If you like aluna-spring-boot-starter you can show support by starring ⭐ this repository.