Releases: yttrian/koncorda
Releases · yttrian/koncorda
Release 0.3.1 - Composite CommandCheck and extra respond types
Release 0.3.0 - No JCenter
- Suggest Jitpack for depending on Koncorda
- Update README to reflect JDA using their own repository now
- Update detekt because it wasn't working with JCenter repository was removed
Release 0.2.3 - Token Requirement
- Mark
koncorda
as inline - Do not require
discord-token
unless needed. Useful for places whereKoncorda.conf
is used in testing.
Release 0.2.2 - Suspend
- Add
onReady {}
to define "suspended" code to run when the bot enters the ready state. Useful for making web requests with Ktor. - Add
.await()
shorthand for.submit().await()
onRestAction
.
fun main() {
koncorda {
onReady {
val ping = it.jda.restPing.await()
logger.debug("Ping: $ping")
}
}.start(lowMemory = true)
}
2021-02-10 14:09:05.856 [DefaultDispatcher-worker-1] DEBUG Koncorda - Ping: 114
Release 0.2.1 - Suspend
Fixes an issue where base commands would not get properly prefixed if wrapped in a check.
Release 0.2.0 - Suspend
Add coroutines support.
event.respond()
now suspends viasubmit().await()
- Command checks can make use of their new suspending nature to make requests to Discord and still return properly
- Adding Ktor client to make web requests within command handlers is now made easier by this change
Release 0.1.2 - HOCON
Switch from konfy to HOCON for configuration.
Release 0.1.0 - baseline
First release of Koncorda. It works enough to get started using it.