Skip to content

Commit c39e0ec

Browse files
committed
feat: update dkt version and add kord caching strategy
1 parent ba646ad commit c39e0ec

File tree

1 file changed

+2
-0
lines changed
  • src/main/kotlin/me/ddivad/judgebot

1 file changed

+2
-0
lines changed

src/main/kotlin/me/ddivad/judgebot/Main.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package me.ddivad.judgebot
22

33
import dev.kord.common.kColor
4+
import dev.kord.core.supplier.EntitySupplyStrategy
45
import dev.kord.gateway.Intent
56
import dev.kord.gateway.Intents
67
import dev.kord.gateway.PrivilegedIntent
@@ -32,6 +33,7 @@ suspend fun main(args: Array<String>) {
3233
allowMentionPrefix = true
3334
commandReaction = null
3435
theme = Color.MAGENTA
36+
entitySupplyStrategy = EntitySupplyStrategy.cacheWithCachingRestFallback
3537
}
3638

3739
mentionEmbed {

0 commit comments

Comments
 (0)