matytyma
matytyma
KKord
Created by sbot50 on 12/13/2024 in #help
Is there a good way to register all commands at once?
val cmds = getKord().createGlobalApplicationCommands {
for (command in commands) {
input("a", "b") {}
break
}
}
val cmds = getKord().createGlobalApplicationCommands {
for (command in commands) {
input("a", "b") {}
break
}
}
Why do you have a break here? And how is commands defined?
15 replies
KKord
Created by sbot50 on 12/13/2024 in #help
Is there a good way to register all commands at once?
ATM all the registering code is inside its own class files. but as soon as i try doing input("a","b") {} (for example) inside a loop it wont work, even if said loop only runs once.
Could you share the not-working code?
15 replies
KKord
Created by BEQI on 11/30/2024 in #help
Ephemeral message
lmao
20 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
8 spaces indentation
25 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
deferEphemeralMessageUpdate still works though
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
This is not available for ModalSubmitInteractions that do not contain a message.
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
if I read the KDoc as I did for everything else...
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
although, it worked for a long time before
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
interaction.updateEphemeralMessage {} was causing it
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
min:s.ms
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
19 replies
KKord
Created by matytyma on 7/10/2024 in #help
Unknown message/webhook/interaction null
short stacktrace is on lines 23-31
19 replies
KKord
Created by matytyma on 6/26/2024 in #help
Passing data through interactions
Is there something easier in Kordex or is it the same?
5 replies
KKord
Created by matytyma on 6/21/2024 in #help
Managing commands
which one? I can't find it 😅
4 replies
KKord
Created by Ray on 6/8/2024 in #help
`Unresolved reference: int` when creating input command
ik
45 replies
KKord
Created by Ray on 6/8/2024 in #help
`Unresolved reference: int` when creating input command
we might go without search at first
45 replies
KKord
Created by Ray on 6/8/2024 in #help
`Unresolved reference: int` when creating input command
45 replies
KKord
Created by Ray on 6/8/2024 in #help
`Unresolved reference: int` when creating input command
writerside sounds like the best option to me then
45 replies
KKord
Created by Ray on 6/8/2024 in #help
`Unresolved reference: int` when creating input command
we could even go with pure Markdown
45 replies