Kord

K

Kord

Join the community to ask questions about Kord and get answers from other members.

Join

Interaction option

Hello I'm tried to add an option to a Chat input command, but unable to find how to instantiate the type expected for the option Have you any clue?...

Interaction disable button

Hello How can I disable a button after a click on it?...

Remove old commands

Hello I'm creating a new bot with the same token than my previous one and I would like to delete all registered slash command How can I do that 🤔 ? Thanks...

Extract the thread id from a ThreadCreated message

How do i extract the thread id from a message of type MessageType.ThreadCreated?

Is there a way to get user status?

Is there a way to get user status?

Is there a way to serialize PublicMessageInteractionResponseBehavior ?

Hi there. Is there a way to serialize an instance of PublicMessageInteractionResponseBehavior? it doesn't seem to have an id field...

Possible to detect verification level of user?

Is it possible to know if a Guild Member has their mobile phone registered/verified on a server that has moderation level set to highest (which requires verified mobile)?

Error Json parsing

Hello ! I have an error with my bot (check in thread) After this, the robot may stop working....

Import dev.kord.x:emoji

Hello Where is published the latest version of kord emoji ? in maven central the last version in 0.5.0 but in Github, the last release is 0.6.0...

Getting members on Guild type doesn't return same amount members as when getting memberCount from it

I tried using rest. Gettings members from guild returns only the bot itself but getting member count returns 3(the actual amount)

Outdated wiki

Seems like Kord Github wiki is outdated.
int
int
was replaced by
integer
integer
and method
deferPublicMessage()
deferPublicMessage()
is unknown....
No description

Responses to messages

3 things I'd like to: 1. Check if the message is a response 2. Get the message this message responds to 3. (Optionally) get the same but from a message that is a response to a MessageContextMenuCommand...

Delete commands

How would I go to delete specific/all application commands?

Store element in current coroutine context

Hello ! I want to store a temporary redis connection in the current coroutine context to use it later / avoid multiple new connections. Previously, I had this code : ...

Modal cancellation

Does Discord let you know when a user closes a modal without submitting it?

Kord doesn't reconnect

I pretty much have issues since day 1 with my bot reconnecting, sometimes it just spams RetryLimitReachedEvent in my log I don't know whether this is just an issue with my logging, but the bot actually doesn't work until a full restart...

Message Featuring

Does Kord have an API for featuring messages in a server's Home page? Would be useful to have a bot do that automatically don't mind the client mod discord is impossible to use any other way on this PC...
No description