Creating a top-level slash command group
How i can remove embed from message?
embeds = mutableListOf()
...Where can I find a list of default Discord emojis?
Error with kordex connection with spring

Error registering slash commands

Gradle plugin does not work
How send message to user by id?
kordRef
on that objectIt's that time again
Get guild id from channel/event
of
or ofOrNull
functionsWhy event called twice when i send message?

Channel change perms
channel.edit
to modify the permission overridesHow send modal respond when modal window sended?
Error with rewrite server logic

I18n is from default?
.toKey()
if you really need to
What event was called when bot started?
ButtonInteractionCreateEvent
How i can start kordex on 21 jdk?
jvmTarget
property to the kordEx
builder
```kotlin...Build fails with SocketException when adding module("data-mongodb")
Can I load a .env file for a module instead of the whole project?
Production instance's caching behaving very differently
guild.getMemberOrNull
to display a list of users (IDs coming from my DB) into strings with their usernames. The problem is that it takes a long time to resolve the response. I would understand if it took long to resolve once, and then subsequent calls didn't, because they are supposed to be cached (EntitySupplyStrategy.cacheWithCachingRestFallback
), but every time, it takes a long time. We have tried to switching strategies for this particular command, like using cache only, and it would result in a lot of users just not being found.
Now, recently, I added some channel permission checks to some task I have. And I noticed that since then, the task is taking a long time to complete. Upon checking my logs, I see a bunch of requests to https://discord.com/api/v10/guilds/<guildId>/members/<myBotId>
, sometimes even making two calls within the same second (there is another permission check further down the task's execution)...
How long do user commands take to register?