Swyftey
Swyftey
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/17/2024 in #djs-questions
What is the best way to detect a change in server ownership when the bot happens to be offline?
Thank you
12 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/17/2024 in #djs-questions
What is the best way to detect a change in server ownership when the bot happens to be offline?
The server isn't added to the database when the bot joins, not as simple as that
12 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/17/2024 in #djs-questions
What is the best way to detect a change in server ownership when the bot happens to be offline?
There will be a page for adding/editing servers and their data
12 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/17/2024 in #djs-questions
What is the best way to detect a change in server ownership when the bot happens to be offline?
My project is a server service (website) similar to disboard, or discordfy
12 replies
DDeno
Created by Swyftey on 11/4/2024 in #help
Deno 2.0 can't find .pem files even with --allow-read?
I think they needed to be .der files. That might've been it.
3 replies
DDeno
Created by Swyftey on 11/4/2024 in #help
Deno 2.0 can't find .pem files even with --allow-read?
Update: I needed to use import.meta.dirname I believe, but now I am getting this error:
Fastify startup error: DataError: ASN.1 error: unknown/unsupported ASN.1 DER tag: 0x2d
tokens | at importKeyRSA (ext:deno_crypto/00_crypto.js:3747:58)
tokens | at importKeyInner (ext:deno_crypto/00_crypto.js:3585:14)
tokens | at SubtleCrypto.importKey (ext:deno_crypto/00_crypto.js:989:26)
tokens | at file:///tokens/src/Services/TokenService.ts:16:50
tokens | at eventLoopTick (ext:core/01_core.js:175:7)
Fastify startup error: DataError: ASN.1 error: unknown/unsupported ASN.1 DER tag: 0x2d
tokens | at importKeyRSA (ext:deno_crypto/00_crypto.js:3747:58)
tokens | at importKeyInner (ext:deno_crypto/00_crypto.js:3585:14)
tokens | at SubtleCrypto.importKey (ext:deno_crypto/00_crypto.js:989:26)
tokens | at file:///tokens/src/Services/TokenService.ts:16:50
tokens | at eventLoopTick (ext:core/01_core.js:175:7)
3 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/2/2024 in #djs-questions
What is the best way to handle components when they've been timed out?
Ok, thank you.
5 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/2/2024 in #djs-questions
What is the best way to handle components when they've been timed out?
So, when the bot starts back up, all the messages within the database are edited to be "timed out"?
5 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 11/2/2024 in #djs-questions
What is the best way to handle components when they've been timed out?
No description
5 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
@/usr/bin/cat It's not a Deno issue after all, it's a Next.JS issue with Chrome/browser extensions. Remove any chrome extensions you may not need or find and remove/disable the one interfering with the page.
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
Fixed!
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
Also, every time the command runs to install the project, the last message claims that there is a new version of create-next-app available which I have installed already (it keeps showing).
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
I do know that sometimes it takes a second or two for the error to show, or you have to refresh in order to see it (the red error indicator at the bottom left).
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
No description
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
I'm not sure. I just use the command to create a new project and run "dev".
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
So sorry! I completely forgot about this
11 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 10/30/2024 in #djs-questions
Embed Builder Not Defined When Using BroadcastEval
Thank you
53 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 10/30/2024 in #djs-questions
Embed Builder Not Defined When Using BroadcastEval
This worked.
53 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 10/30/2024 in #djs-questions
Embed Builder Not Defined When Using BroadcastEval
Nevermind, got it
53 replies
DIAdiscord.js - Imagine an app
Created by Swyftey on 10/30/2024 in #djs-questions
Embed Builder Not Defined When Using BroadcastEval
do I need to specifically use .toJSON or something
53 replies