LustigerLurch
LustigerLurch
KKord
Created by vyfor on 8/17/2024 in #help
[Kotlin/Native] Slow connection issues
i forgot why, so why?
55 replies
KKord
Created by sbot50 on 11/7/2024 in #help
How do you create an embed?
the code for this would look somewhat like this:
interaction.respond {
embed {
// ...
}
}
interaction.respond {
embed {
// ...
}
}
4 replies
KKord
Created by vyfor on 8/17/2024 in #help
[Kotlin/Native] Slow connection issues
pulling all into one repo would also solve this, been having this in the back of my head for some time
55 replies
KKord
Created by Stan on 9/27/2024 in #help
Missing `DiscordChannel.message` for thread channels
hm, i can't reproduce this, both of these get me the initial message:
val forum: ForumChannel = TODO()
val thread = forum.startPublicThread("name") {
message("some message content")
}
println(thread.message)
println(thread.messages.single())
val forum: ForumChannel = TODO()
val thread = forum.startPublicThread("name") {
message("some message content")
}
println(thread.message)
println(thread.messages.single())
10 replies
KKord
Created by vyfor on 8/17/2024 in #help
[Kotlin/Native] Slow connection issues
gotta look into rest ratelimiters at some point
55 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
so i'm not sure how they work
42 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
tbh, i have basically never touched those
42 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
it sets MessageFlag.SuppressEmbeds in the flags of the message. you should also be able to use that flag to determine when the embeds are removed by a user.
42 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
you can bring the embed back by adding suppressEmbeds = false to the message (modify) builder
42 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
it will be the id of a followup you created to the intial response - otherwise there are no followups
42 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
if you want to get the channel by id, you can do this:
val channel = kord.getChannelOf<MessageChannel>(id)
val channel = kord.getChannelOf<MessageChannel>(id)
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
something like this should do:
guild.channels
.filterIsInstance<MessageChannel>()
.collect { channel ->
channel.createMessage { content = "text" }
}
guild.channels
.filterIsInstance<MessageChannel>()
.collect { channel ->
channel.createMessage { content = "text" }
}
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
it's just a technicality - channels in a guild just exist and you need a permission to be able to view them and also to send messages in them
25 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
i haven't yet looked into user-installed apps, but let me know if you figure it out
19 replies