[Discord & WS] Logs help

Hello, I am making a remix of https://glitch.com/~logs-websocket-demo, but whenever I make a single code change, I have to run refresh in the console to make the project reload running the new code, and I would like to know how I can use this for discord.

I have the files that are all in that project all the same, except I added a file “discord.js” and put “require(__dirname + “/public/discord.js”)” into the server.js file, and the discord file loads perfectly, but I am wondering how I can get the logs from a certain project sent to a discord channel, of course, using the other code from the other files, but I do not know how to set it up. I also noticed when the project logs something, it does not show up on the webpage just like it should!

for staff: project name is: quickest-whitefish

any help would be appreciated!

Hey @Callum-OKane, I’ve never tried to hook that websocket code up to Discord, but that’s an interesting question. I’ll take a look at the code again and see if I can come up with any suggestions.

Ok, Thanks cori! :grinning: