Neither, the server you run with NodeJS actually uses IPC pipes to deliver the information to your locally running discord client using the RPC interface.
Wouldnāt It need my discord token for it to run and set presence and change the rich status?
Surprisingly not, IPC is exclusively local so Discord assumed safety and allows the use of token/authentication to be omitted entirely.
I see, thanks for clarifing it up. I ll just have to wait for the fix so I can start using it
Fixed Client (v0.1.3-alpha)
Fixes
- Client error
attempt to index nil with 'Post'
(@TheYusufGamer)
Available here.
Not sure why, but the buttons did work for me without any error. It redirected me to the exact link. The only problem was, after i updated the button link, it didnāt redirect me to updated link even after waiting for like 10 minutes.
Ok, when I click enable the enabled wont change to Yes from No but on discord you can see the status
I really donāt think it is better nor cleaner. You can just categorize a big script with comments and then search for the comment and instantly jump to the part you want to work on
Quite interesting, this is a Discord issue if even an issue at all, donāt blame me
That oneās a weird one Iāll admit, Iāve tried to fix it like thrice now, keeps cropping up new completely unrelated issues.
I see, it works but it doesnāt chnage the ui in studio I guess
I am pretty sure this is the error cuasing it
cloud_6478572909.DRPC.src.client.index:25: attempt to index nil with āPostā
Honestly thatās a personal opinion, if you look at any other large github projects in almost any fields, youāll find a multi-file, scattered structure quite like mine, itās easier for collaboration, a (by large opinion) cleaner file structure, and itās easier to look at small sections of your code at once than to look at 800 lines and try to reason āSo, what next?ā.
Youāre still getting that error?
Edit: My mistake, didnāt publish the plugin update, will do now (Feel free to restart studio now)
Yeah when I click enabled I get that error with but my discord shows I got studio like it was supposed it
Ok it works perfectly now, when I press Enabled It changes and I dont see any errors
Looks cool. Imma use it right now!
UI Revamp (v0.2.0-alpha)
Features
- UI Revamp by @va1kio
Fixes
- Buttons undefined, buttons not existing, buttons dying, buttons escaping death, buttons everywhere, AAAAHH!H!!!
Server literally wont run, at first it just wouldnāt show anything in the console but even after pressing yes on the plugin it didnāt work, so I redownloaded the export zip then ran ānpm iā and then ānode index.jsā yet it still doesnāt work, now iām getting the error: "Error: cannot find module āgotā " when I run ānode index.jsā
Try running npm i got
before node index.js
, Iāll have to update the package.json for the next release.
In my original message I said "so I redownloaded the export zip then ran ānpm iā and then ānode index.jsā "