Skip to content

Releases: yttrian/koncorda

Release 0.3.1 - Composite CommandCheck and extra respond types

03 Jul 20:48
Compare
Choose a tag to compare
  • CommandCheck can now be combined with and and or and make use of ! for negation
  • respond now allows Embed and Message as inputs

Release 0.3.0 - No JCenter

30 May 23:13
Compare
Choose a tag to compare
  • 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

30 May 22:26
Compare
Choose a tag to compare
  • Mark koncorda as inline
  • Do not require discord-token unless needed. Useful for places where Koncorda.conf is used in testing.

Release 0.2.2 - Suspend

10 Feb 19:13
Compare
Choose a tag to compare
  • 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() on RestAction.
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

08 Feb 16:55
Compare
Choose a tag to compare

Fixes an issue where base commands would not get properly prefixed if wrapped in a check.

Release 0.2.0 - Suspend

08 Feb 15:57
Compare
Choose a tag to compare

Add coroutines support.

  • event.respond() now suspends via submit().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

02 Feb 03:34
Compare
Choose a tag to compare

Switch from konfy to HOCON for configuration.

Release 0.1.0 - baseline

01 Feb 19:30
Compare
Choose a tag to compare

First release of Koncorda. It works enough to get started using it.