- Kotlin 100%
| .idea | ||
| buildSrc | ||
| core | ||
| gradle | ||
| platforms/discord | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Moeka
A multiplatform, modular framework for writing bots across Discord, Matrix, and other platforms. Originally written for Pitohui.
Including Moeka in Your Project:
Whether you are writing a module or a bot, you'll need to add my repository:
// build.gradle.kts, settings.gradle.kts, wherever you define your repositories,
// add this declaration:
maven {
url = uri("https://repo.lizainslie.dev/repository/maven-public/")
}
The latest Moeka version at the time of writing is 0.0.2, however I won't
promise this page will stay up to date with the latest version. instead, please
view the list of available releases
Creating a Module
If you are developing a module, do not shade the core or platform module, use
api instead of implementation:
dependencies {
api("dev.lizainslie.moeka:moeka-core:$version")
api("dev.lizainslie.moeka:moeka-discord:$version")
}
You can look at the example module for an example module implementation.
Creating a Bot
Creating a bot is more complicated than creating a module, but to get started, you will want to shade the Moeka core and any necessary platforms into your jar.
dependencies {
implementation("dev.lizainslie.moeka:moeka-core:$version")
implementation("dev.lizainslie.moeka:moeka-discord:$version")
}
Documentation?
Soon™️ (when I feel like it)
Legal
Moeka is released under the permissive MIT License.