Removing components from message with edit
MessageModifyBuilder
block, I've tried setting components
to null, empty list, I've tried calling components { }
, I've tried adding an empty action row in there (actionRow { }
).
In all cases, I get the following:
{"components":{"0":{"components":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}}
{"components":{"0":{"components":{"_errors":[{"code":"BASE_TYPE_REQUIRED","message":"This field is required"}]}}}}
Basic bot isnt... doing anything?
(Not Kord) Deserialize JSON with unordered fields (Kotlin Serialization)
Select Intent
intents {
enableEvent<AnEventType>()
}
intents {
enableEvent<AnEventType>()
}
Bot reccuringly not responding at specific times

java.io.EOFException on dev.kord.gateway.DefaultGateway
Error after adding kord dependency
Get Heartbeat of Gateway
Is there a good way to register all commands at once?
getKord().createGlobalApplicationCommands {}
to function
But unless i wanna create a massive file with every command in there seperately, it wont work....Adding a file to a message using getResourceAsStream
val imageStream = javaClass.getResourceAsStream("/images/headerLink.png")
?: throw IllegalArgumentException("Image not found: /images/headerLink.png")
val imageStream = javaClass.getResourceAsStream("/images/headerLink.png")
?: throw IllegalArgumentException("Image not found: /images/headerLink.png")
ChannelProvider { imageStream.toByteReadChannel() }
Embed markdown for headers not working properly

Ephemeral message
if (!isAdmin) {message.channel.createMessage(content = "You don't have enough permissions!")}
if (!isAdmin) {message.channel.createMessage(content = "You don't have enough permissions!")}
Custom status/activity

ClassNotFoundException: kotlinx.io.unsafe.UnsafeBufferOperations
ClassNotFoundException: kotlinx.io.unsafe.UnsafeBufferOperations
. I have all the libraries loading, including kotlinx-io-core-jvm
which the error is from. Any clues what could be the problem?Dependency conflicts...
Opus stream to wav?
Commands stop working after running for a longer amount of time
How do I get the category a channel is in?
Possible to intercept a request to modify the payload?
</slash command:id>
in several commands but I can't hardcode it as the ID changes whenever you update a command. So I just cache all the command IDs on load, but then I'd still have to format it in every single response. Instead I'd like to just intercept the request and format it in one function than every command I have or will add....