sp00ktober
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by sp00ktober on 3/15/2024 in #djs-questions
Modals in Node-Red using Discord JS
Ye i am on there but its a very silent community sadly.
I understand that you will not give support here, worth a try tho.
5 replies
DIAdiscord.js - Imagine an app
•Created by sp00ktober on 3/15/2024 in #djs-questions
Modals in Node-Red using Discord JS
I see.
Tho as you can see in the source code i linked, that third party library passes down the interaction object from djs to my code where the issue then arrises.
Thats why i posted here.
5 replies
❔ nested generic interface throws cast exception when added to list
in
does not seem to change anything, out
on the other hand tells me The parameter "H" must be contraviniant and valid for "IComponentUpdateHandler<T, H, C>.HandleUpdate(ENetPeerHandle, long, H, C)" "H" is covariant.
27 replies
❔ nested generic interface throws cast exception when added to list
just in this case means some more complicated patches for me which will potentially break the whole game that this mod project is about, so if it is really required to do this then im afraid i need to find another way to implement similar functionality :/
would have been too good 😅
27 replies
❔ nested generic interface throws cast exception when added to list
i have nearly no control over the
Update
and Data
classes as well as the InventoryModificationState
class and the IComponentXXXX
interfaces.
as i wrote this is part of a modding project and i need to work with these, so i hope its possible to solve this without modifying those mentioned interfaces/classes.
gonne look at the in/out part you mentioned, never actually used it27 replies
❔ nested generic interface throws cast exception when added to list
maybe you can elaborate a bit more on this? i've read through the article (and the linked one about interfaces) but this give me even more the feeling that i am doing things correctly here.
tho something must be off and im just not seeing it
27 replies