Skip to content
Filip edited this page Jun 23, 2019 · 13 revisions

Twitch messaging in Kotlin - TmiK

Introduction

TmiK is multiplatfrom Twitch messaging library written in Kotlin. Create simple and easy to read hierarchy of filters and listeners. You can start with just few lines of code:

tmi("oauth:$myToken") {
  onConnected { join("$myChannel") }
  onMessage { sendMessage(it.channel, "Nice to see you @${it.displayName} !") }
}

Dependencies

TmiK relies only on KotlinX Coroutines and Ktor (client-websockets)

Features:

  1. TMI builder & Scopes
  2. Filters
  3. Container & Plugins