Would this be possible?

So, a long time ago, I found a web tutorial for Discord.js on the official site. I wonder if you could use this and possibly a big enough CDN to make a discord bot on a static website.

I suppose it could be possible but you would not really want your token on the web for all to see.

Can’t you use server side files, or env?