Website interaction for discord api
It's very frustrating to do this. I am trying to interact with Discord API with a website such as Google Sites or HTML. However, cors is blocking my interaction between the discord api for security purpose. I know a few solution to solve this but, it doesn't satisfy me because I don't have money for buying a dedicated server or even a local server.
* Own a Node.Js server as a back-end program for interacting discord API and acts for sending/requesting data for the Website.
* Requesting Website (Front-End) > Node.Js Server (Back-End) > Discord API > Some Backend from discord * Discord API sending data to Node.js Server Website (Front-End) < Node.js Server (Back-End) < Discord API < Some Backend from discord* Use some public proxy links for direct interaction between website and discord api. However, I don't think a good one exist. There is also a disadvantage for this such as leaking the discord bot token in public (from source). Now I'd like to get help to make a solution without using a paid dedicated server to make a website directly or with back-end to interact with discord-api.
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffAlright, I thought the thing in my mind would be a success without spending a single money (I am a student so I don't want to spend the money from my parents or money not from me). However, none of my plan works.
I'll try to find a solution for this. I'll probably use my old broken phone as light-weighted server.
thanks for the quick respond.
alright, thanks for giving a useful information