Solaris
Solaris
KKord
Created by Solaris on 11/14/2024 in #help
Possible to intercept a request to modify the payload?
yeah but then you have to make sure you use it every time it needs to be
7 replies
KKord
Created by Solaris on 11/14/2024 in #help
Possible to intercept a request to modify the payload?
I see dev.kord.rest.request.RequestHandler but I have no idea how to use it
7 replies
KKord
Created by Solaris on 11/14/2024 in #help
Possible to intercept a request to modify the payload?
Are there any docs on that?
7 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
Talking to advaith about this, user apps can only access what is in the interaction. I thought it could get some basic info like the channel it was in but the routes are bot only and the bot can't be present in DMs/guilds it wasn't added to
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
Ah I found the issue, apparently you can't call ChatInputCommandInteraction#getChannel() as a user app, it throws a 403. Since I use reflection in my system it silently went by when using Callable#callSuspendBy(). I thought the JVM would still throw an error but I suppose not. I thought of allowing the user to enable/disable other users from using interactions with them but it appears you can't get the channel to see if it's a DM channel or the members in it. It makes sense since it's ran by the user but it also respects the permissions the user has, so if they can see the channel, then the user app interaction should be able to as well?
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
That's all good, I can figure that out. At least I know I'm receiving the event but Kord isn't processing it anymore
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
I'm not sure how to do that exactly
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
I do receive the user app interaaction by the generic InteractionCreateEvent
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
is there a generic InteractionCreateEvent i can listen to? or even a raw event?
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
ah, i setup a custom system because i prefer this method of defining commands
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
Is there something different with your listeners that might point me in the right direction?
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
No description
19 replies
KKord
Created by Solaris on 9/9/2024 in #help
User installed command events not being received.
I did previously, but now I don't receive them at all. I tested it with a node.js app and I do receive them so it's something with Kord that isn't working
19 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
templates be like
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
does this have anything that might require to specify each dependency?
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
Or well, it’s just a grade file like https://github.com/FabricMC/fabric-example-mod/blob/1.21/build.gradle I can send my own in a bit, just woke up
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
Yes
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
No description
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
i had class not found errors about kord cache so i included it and it seems to work for more context, i'm writing a minecraft fabric mod that has discord <-> minecraft chat for the purpose of learning how fabric works and i had to include a good 30 libraries for it to work
25 replies
KKord
Created by Solaris on 7/11/2024 in #help
kord cache method doesn't exist
figured it out, turns ot 0.5.4 isn't the right version despite being the newest on mvnrepo, found a repo on the kord site that has 0.4.0 which does work
25 replies