Skip to content

Commit

Permalink
Remove unused logger
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Jan 14, 2022
1 parent 5abaf6b commit 87915e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions common/src/main/kotlin/entity/Interactions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.*
import kotlinx.serialization.encoding.*
import kotlinx.serialization.json.*
import mu.KLogger
import mu.KotlinLogging

public val kordLogger: KLogger = KotlinLogging.logger { }

@Serializable
public data class DiscordApplicationCommand(
Expand Down Expand Up @@ -317,7 +313,7 @@ public sealed class Option {
}

override fun deserialize(decoder: Decoder): Option {
decoder as? JsonDecoder ?: error("Option can only be deserialize with a JsonDecoder")
decoder as? JsonDecoder ?: error("Option can only be deserialized with a JsonDecoder")
val json = decoder.json

var name = ""
Expand Down

0 comments on commit 87915e4

Please sign in to comment.