Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.
/ Kairi Public archive

🐅 Experimental Kotlin library for Revolt (API subject is to change)

License

Notifications You must be signed in to change notification settings

AugustArchive/Kairi

Repository files navigation

Kairi

🐅 Experimental Kotlin library for Revolt

Usage

fun main(args: Array<String>) = runBlocking {
    val bot = Kairi {
        token = ""
    }
    
    bot.on<MessageCreateEvent> {
        if (this.content == "!ping") this.channel.send("pong!")
    }
    
    bot.launch()
}

Support

if you need support, you can join the Revolt server here: https://app.revolt.chat/invite/bXkwK8af (it's very incomplete lol)

License

Kairi is released under the MIT License.