Skip to content

Commit

Permalink
fix: update kord (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra authored May 27, 2024
1 parent 19b966b commit 76e358b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<kotlin.version>1.8.22</kotlin.version>
<kotlin.code.style>official</kotlin.code.style>

<kord.version>0.10.0</kord.version>
<kord.version>0.14.0</kord.version>
<agql-source-query.version>1.2.1</agql-source-query.version>
<java-uuid-generator.version>5.0.0</java-uuid-generator.version>
<potassium-nitrite.version>3.4.4</potassium-nitrite.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import dev.kord.core.cache.data.ThreadMemberData
import dev.kord.core.cache.data.UserData
import dev.kord.core.cache.data.VoiceStateData
import dev.kord.core.cache.data.WebhookData
import io.ktor.network.selector.InterestSuspensionsMap
import io.ktor.utils.io.pool.DefaultPool
import org.dizitart.no2.Document
import org.dizitart.no2.Index
Expand Down Expand Up @@ -92,6 +91,5 @@ class BotRuntimeHints : RuntimeHintsRegistrar {
.registerType(TypeReference.of("kotlin.internal.jdk8.JDK8PlatformImplementations"), MemberCategory.INVOKE_PUBLIC_CONSTRUCTORS)
// required by ktor (dependency of kord)
.registerType(DefaultPool::class.java, MemberCategory.DECLARED_FIELDS)
.registerType(InterestSuspensionsMap::class.java, MemberCategory.DECLARED_FIELDS)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import dev.kord.core.behavior.interaction.response.respond
import dev.kord.core.entity.interaction.ChatInputCommandInteraction
import dev.kord.core.entity.interaction.GlobalChatInputCommandInteraction
import dev.kord.core.entity.interaction.GuildChatInputCommandInteraction
import dev.kord.rest.builder.message.modify.embed
import dev.kord.rest.builder.message.embed
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.stereotype.Component
import org.springframework.util.StringUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import dev.kord.core.behavior.channel.createEmbed
import dev.kord.core.behavior.edit
import dev.kord.core.exception.EntityNotFoundException
import dev.kord.rest.builder.message.EmbedBuilder
import dev.kord.rest.builder.message.modify.embed
import dev.kord.rest.builder.message.embed
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import java.time.Instant
Expand Down

0 comments on commit 76e358b

Please sign in to comment.