πŸ… Experimental Kotlin library for Revolt (API subject is to change)

Overview

Kairi

πŸ… Experimental Kotlin library for Revolt

Usage

{ if (this.content == "!ping") this.channel.send("pong!") } bot.launch() } ">
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.

You might also like...
Swift-friendly api generator for Kotlin/Native frameworks
Swift-friendly api generator for Kotlin/Native frameworks

MOKO KSwift KSwift it's gradle plugin for generation Swift-friendly API for Kotlin/Native framework. Kotlin sealed interface/class to Swift enum Kotli

A declarative, Kotlin-idiomatic API for writing dynamic command line applications.
A declarative, Kotlin-idiomatic API for writing dynamic command line applications.

A declarative, Kotlin-idiomatic API for writing dynamic command line applications.

A Kotlin Multiplatform Project using TMDB Api. Currently supports Android,iOS,Desktop and web platforms
A Kotlin Multiplatform Project using TMDB Api. Currently supports Android,iOS,Desktop and web platforms

A Kotlin Multiplatform Project using TMDB Api(https://www.themoviedb.org/). Currently this project is implemented in following platforms Andr

Kotlin and Java API for generating .swift source files.

SwiftPoet SwiftPoet is a Kotlin and Java API for generating .swift source files. Source file generation can be useful when doing things such as annota

Yaspeller-kt - Asynchronous Yandex.Speller API wrapper for Kotlin/JVM.

yaspeller-kt Asynchronous Yandex.Speller API wrapper for Kotlin/JVM. Installation repositories { maven { url 'https://jitpack.io' }

GBooks - A simple android app written in Kotlin to read books from the Google Book Api
GBooks - A simple android app written in Kotlin to read books from the Google Book Api

G-Books A simple android app written in Kotlin to read books from the Google Boo

An android app built using Kotlin that consumes Pixabay API to display images and their details.
An android app built using Kotlin that consumes Pixabay API to display images and their details.

AdanianAndroidTest An android app built using Kotlin that consumes Pixabay API to display images and their details. It has been built following Clean

Kotlin Multiplatform Mobile application built using that consumes WakaTime API
Kotlin Multiplatform Mobile application built using that consumes WakaTime API

Kotlin Multiplatform Mobile application built using that consumes WakaTime API ⏱️ to display user's coding stats such as day's or day's of weeks coding time, coding time for various programming languages or worked on projects etc. on various platforms.

An android application developed in Kotlin that provides lists and tables of soccer leagues through api consumption
An android application developed in Kotlin that provides lists and tables of soccer leagues through api consumption

An android application developed in Kotlin that provides lists and tables of soccer leagues through api consumption

Comments
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • gradle.properties (gradle)
    • settings.gradle.kts (gradle)
    • build.gradle.kts (gradle)
    • commands/build.gradle.kts (gradle)
    • core/build.gradle.kts (gradle)
    • testbot/build.gradle.kts (gradle)
    • gradle/wrapper/gradle-wrapper.properties (gradle-wrapper)

    Configuration

    πŸ”‘ Renovate has detected a custom config for this PR. Feel free to ask for help if you have any doubts and would like it reviewed.

    Important: Now that this branch is edited, Renovate can't rebase it from the base branch any more. If you make changes to the base branch that could impact this onboarding PR, please merge them manually.

    What to Expect

    With your current configuration, Renovate will create 23 Pull Requests:

    Update dependency io.ktor:ktor-client-core to v1.6.8
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-core-1.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-core to 1.6.8
    Update dependency io.ktor:ktor-client-okhttp to v1.6.8
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-okhttp-1.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-okhttp to 1.6.8
    Update dependency io.ktor:ktor-client-serialization to v1.6.8
    Update dependency io.ktor:ktor-client-websockets to v1.6.8
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-websockets-1.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-websockets to 1.6.8
    Update dependency org.slf4j:slf4j-api to v1.7.36
    • Schedule: ["at any time"]
    • Branch name: renovate/org.slf4j-slf4j-api-1.x
    • Merge into: master
    • Upgrade org.slf4j:slf4j-api to 1.7.36
    Update dependency org.slf4j:slf4j-simple to v1.7.36
    • Schedule: ["at any time"]
    • Branch name: renovate/org.slf4j-slf4j-simple-1.x
    • Merge into: master
    • Upgrade org.slf4j:slf4j-simple to 1.7.36
    Update dependency com.diffplug.spotless:spotless-plugin-gradle to v5.17.1
    Update dependency gradle to v7.4.2
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-7.x
    • Merge into: master
    • Upgrade gradle to 7.4.2
    Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.7.0
    Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.7.0
    Update dependency org.jetbrains.kotlin:kotlin-serialization to v1.7.0
    Update dependency org.jetbrains.kotlinx:kotlinx-serialization-core to v1.3.3
    Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3
    Update plugin com.diffplug.spotless to v5.17.1
    • Schedule: ["at any time"]
    • Branch name: renovate/com.diffplug.spotless-5.x
    • Merge into: master
    • Upgrade com.diffplug.spotless to 5.17.1
    Update plugin com.github.johnrengelman.shadow to v7.1.2
    • Schedule: ["at any time"]
    • Branch name: renovate/com.github.johnrengelman.shadow-7.x
    • Merge into: master
    • Upgrade com.github.johnrengelman.shadow to 7.1.2
    Update plugin org.jetbrains.dokka to v1.7.0
    • Schedule: ["at any time"]
    • Branch name: renovate/org.jetbrains.dokka-1.x
    • Merge into: master
    • Upgrade org.jetbrains.dokka to 1.7.0
    Update plugin org.jetbrains.kotlin.plugin.serialization to v1.7.0
    Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6
    Update dependency io.ktor:ktor-client-core to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-core-2.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-core to 2.0.3
    Update dependency io.ktor:ktor-client-okhttp to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-okhttp-2.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-okhttp to 2.0.3
    Update dependency io.ktor:ktor-client-serialization to v2
    Update dependency io.ktor:ktor-client-websockets to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-client-websockets-2.x
    • Merge into: master
    • Upgrade io.ktor:ktor-client-websockets to 2.0.3
    Update plugin com.diffplug.spotless to v6
    • Schedule: ["at any time"]
    • Branch name: renovate/com.diffplug.spotless-6.x
    • Merge into: master
    • Upgrade com.diffplug.spotless to 6.8.0

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Owner
Noel
Student, Developer in the United States creating projects no one will use except for myself. o((*^β–½^*))o
Noel
An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

Jake Wharton 1.4k Dec 28, 2022
Various experimental proposals and extensions to Javalin 4.x used in Reposilite 3.x

Javalin RFCs Various experimental extensions to Javalin 4.x used in Reposilite 3.x. Provides basic support for Kotlin coroutines and async routes with

Reposilite Playground 5 Feb 22, 2022
An experimental UI toolkit for generating PowerPoint presentation files using Compose

ComposePPT An experimental UI toolkit for generating PowerPoint presentation files(.pptx) using Compose. Inspired by Glance and Mosaic. Why? This proj

Fatih Giriş 252 Dec 28, 2022
Solid - A CLI that tries to cover a dry-run phase for liquibase database change management

solid a CLI that tries to cover a dry-run phase for liquibase database change ma

Giovanni Panice (mos_) 1 Jan 28, 2022
API-Annotate - Single annotation to mark API elements

API-Annotate A single annotation for annotating externally-consumed elements in

null 0 Feb 5, 2022
API-Request - Android app that makes API Request

API-Request Android project using Retrofit and Ktor for Http Requests, built wit

Thales 2 Mar 26, 2022
Here - a nice DeepL API client library written in Kotlin

Here - a nice DeepL API client library written in Kotlin! The supported Java runtimes are any OpenJDK distributions and Android runtime.

Kazuhiro Sera 6 Sep 26, 2022
A light weight Compose Animation library to choreograph low level Animation API through Kotlin DSL.

Koreography Choreograph your Compose Animation ?? ?? A lightweight Compose Animation utility library to choreograph low-level Animation API (https://d

Sagar Viradiya 107 Jan 8, 2023
A simple library that can connect your autocomplete edittext to Google places api

Google Places AutoComplete EditText A simple library that can connect your autocomplete edittext to Google's places api Supporting Places AutoComplete

Mukesh Solanki 71 Dec 28, 2022
Movie app that receives popular movies and allows the user to search for the specific movie through the Rest API with help of retrofit library &MVVM architecture.

MovieClue Millions of movies, TV shows and people to discover. Explore now Movie app that recieves popular movies and allow the user to search for spe

Shubham Tomar 6 Mar 31, 2022