ShowCast
Explore posts from serversSIASapphire - Imagine a framework
•Created by ShowCast on 11/25/2024 in #sapphire-support
Unexspected end of JSON input
Well that's a good point! You are absolutely right, I transformed my code (In v6 I accessed request.body and so on) and now it's working 😄 Thx :this:
9 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 11/25/2024 in #sapphire-support
Unexspected end of JSON input
Funny thing seems like
if (((await request.readBody()) as any).action !== 'app_membership.went_invalid') return response.badRequest();
works but when I want to access .data
I get an exception9 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 11/25/2024 in #sapphire-support
Unexspected end of JSON input
This was not the error, I fixed the example JSON of my post as I was using the "correct" version on Postman
9 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 11/25/2024 in #sapphire-support
Unexspected end of JSON input
Good point. I will correct this is only a Copy & Paste Error here sorry 😅
9 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/13/2024 in #sapphire-support
Manual Scheduled Task not found
Alright, good to know. Works now! Thanks for the help :PES_Ok:
6 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/13/2024 in #sapphire-support
Manual Scheduled Task not found
RememberTask.ts
6 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/12/2024 in #sapphire-support
Manual Scheduled Task Method Arg Number mismatch with documentation
Works, thank you for the effort! Hopefully the PR will be merged asap :Peepo_Cry:
5 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 5/6/2024 in #djs-questions
Develop with Entitlements
Sounds like the only possible solution. Even the Support told me there is no other way..
4 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 3/13/2024 in #djs-questions
Follow Up to interaction.deferUpdate() throws error
Alright thank you for your help :PES_Ok: :aPES_Love:
11 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 3/13/2024 in #djs-questions
Follow Up to interaction.deferUpdate() throws error
So you mean something defers the interaction even before my deferUpdate() call?
11 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 3/13/2024 in #djs-questions
Follow Up to interaction.deferUpdate() throws error
Sure. I am using sapphire as a framework but here you go
Same error with editReply() btw
11 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 3/13/2024 in #djs-questions
Follow Up to interaction.deferUpdate() throws error
First I call
await interaction.deferUpdate();
After that I fetch some data.
And after some lines of fetching data comes
I checked like 10x times. there is no interaction.reply() or anything else between those calls11 replies
DIAdiscord.js - Imagine an app
•Created by ShowCast on 3/13/2024 in #djs-questions
Follow Up to interaction.deferUpdate() throws error
DJS Version: 14.14.1
NodeJS Version: 18.17.1
11 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/9/2023 in #sapphire-support
i18n applyLocalizedBuilders Options
Can I find how to do that in the docs for i18next or is there a special way for the plugin implementation?
13 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/9/2023 in #sapphire-support
i18n applyLocalizedBuilders Options
Hm I use that because I don't wanna hardcore URLs and stuff like that into my .json files. Well then I have to do it, thanks anyways 😄
13 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/9/2023 in #sapphire-support
i18n applyLocalizedBuilders Options
So there is no option to supply options to the localized builder in any way?
13 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/7/2023 in #sapphire-support
i18n options are not considered
Perfect, will checkout rn
29 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/7/2023 in #sapphire-support
i18n options are not considered
Got the issue! Got some custom config options for i18next I tried while figuring the issue with the options out
These messed it up. Removed it and it is working rn
29 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/7/2023 in #sapphire-support
i18n options are not considered
I tested around.
Outputs the correct string.
The string from resolveKey with the
chatInputApplicationCommandMention
seems to html escape the string.
Any ideas why this occurs?29 replies
SIASapphire - Imagine a framework
•Created by ShowCast on 9/7/2023 in #sapphire-support
i18n options are not considered
Another strange behaviour:
returns the correct string
</help:946826618553401416>
If I call this within resolveKey
The return value is </help:946826618553401416>
.
Am I doing something wrong?29 replies