1
0

manually define kord version bc build broke somehow, also set the datacollection during build arleady

This commit is contained in:
Jannik Reimers 2024-11-24 00:14:33 +01:00
parent 847e46c8ee
commit d263cf39b9
Signed by: jansel
GPG Key ID: 39C62D7D5233CFD0
2 changed files with 2 additions and 3 deletions

View File

@ -32,12 +32,12 @@ dependencies {
kordEx {
kordExVersion = "2.2.1-SNAPSHOT"
kordVersion = "0.16.0-SNAPSHOT"
jvmTarget = 21
bot {
// See https://docs.kordex.dev/data-collection.html
dataCollection(DataCollection.Standard)
dataCollection(DataCollection.None)
mainClass = "dev.jansel.feixiao.AppKt"
}

View File

@ -23,7 +23,6 @@ val logger = KotlinLogging.logger { }
suspend fun main() {
val bot = ExtensibleBot(token) {
database(true)
dataCollectionMode = DataCollection.None
extensions {
add(::EventHooks)
add(::StreamerCommand)