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 toWhat 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?
ephemeralStringSelectMenu option values
ephemeralStringSelectMenu
from the components builder in the action
. is this possible using conventional means? if not, what should be done instead?
for reference, I'm trying to dynamically get something from my database with the value from the string select menu, which does not have static options and is also dynamically made...selected
how does defaultGuild interact with user apps?
Can you send an ephemeral response from a public slash command?
My commands aren't updating
defaultGuild
ConcurrentModificationException errors
defaultStrategy = EntitySupplyStrategy.cacheWithCachingRestFallback
....