monbrey
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
But that does bring me back to "is origin even required"
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
I did mean the lib, my bad for not being clearer
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
The docs say they don't even approve new apps for it
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
I mean RPC is old and deprecated so
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
If you're connecting to the RPC server from within a browser, RPC origins are usually in the form SCHEME://HOST[:PORT], where SCHEME is typically https or http, HOST is your domain or ip, and PORT is the port of the webserver from which the user will be connecting (omitted for ports 80 and 443). For example, https://discord.com would be used if the user were connecting from https://discord.com/some/page/url
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
Did you see this part of the page?
If you're connecting to the RPC server from within a non-browser application (like a game), you just need to make sure that the origin is sent with the upgrade request when connecting to the WebSocket. For local testing, we recommend testing with an origin like https://localhost
69 replies
DIAdiscord.js - Imagine an app
•Created by Fyzy on 4/28/2025 in #djs-questions
discordjs/rpc
A quick google search suggests the origin isn't even required. Try just dropping it
69 replies
DIAdiscord.js - Imagine an app
•Created by #ToiYeuSweetLiquor <3 on 4/22/2025 in #djs-questions
awaitModalSubmit issue
Discord doesn't send an event when a modal is closed, so you end up still listening for both opened modals, resulting in a double response attempt on the second
6 replies
DIAdiscord.js - Imagine an app
•Created by #ToiYeuSweetLiquor <3 on 4/22/2025 in #djs-questions
awaitModalSubmit issue
Yes, exactly
6 replies
DIAdiscord.js - Imagine an app
•Created by 'Hz on 4/21/2025 in #djs-questions
Crow baot
big yikes
34 replies
DIAdiscord.js - Imagine an app
•Created by Unicorn. on 4/12/2025 in #djs-questions
How to transfer client to contextmenucommand
interaction.client
exists4 replies
DIAdiscord.js - Imagine an app
•Created by Unicorn. on 4/12/2025 in #djs-questions
How to transfer client to contextmenucommand
I don't know what you mean by "transfer"
4 replies
DIAdiscord.js - Imagine an app
•Created by astrid(irl)* on 3/20/2025 in #djs-questions
Seperate gateway process
All the individual modules
5 replies
DIAdiscord.js - Imagine an app
•Created by astrid(irl)* on 3/20/2025 in #djs-questions
Seperate gateway process
@discordjs/core, /ws, /rest etc
5 replies
DIAdiscord.js - Imagine an app
•Created by astrid(irl)* on 3/20/2025 in #djs-questions
Seperate gateway process
5 replies
DIAdiscord.js - Imagine an app
•Created by RateLimited on 3/10/2025 in #djs-questions
How do I send a message to a channel by channel id
either await it, or just get from cache
5 replies
DIAdiscord.js - Imagine an app
•Created by RateLimited on 3/10/2025 in #djs-questions
How do I send a message to a channel by channel id
you're not awaiting the fetch
5 replies
DIAdiscord.js - Imagine an app
•Created by Krauti on 3/1/2025 in #djs-questions
Application Commands API does not return localization
Did you also consider this part
15 replies
DIAdiscord.js - Imagine an app
•Created by Kyra on 2/23/2025 in #djs-questions
Published announcement channel messages fire messageEdit event (v13)
You cant stop Discord from firing messageUpdate events when message updates happen
10 replies
DIAdiscord.js - Imagine an app
•Created by Kyra on 2/23/2025 in #djs-questions
Published announcement channel messages fire messageEdit event (v13)
Deal with it
10 replies