.env bug

Posted by b0pfq in discord-bots · Solved.

Hey, not sure why this is happening but Everytime I try to open my .env file it gives me Request failed (403) I tried saving the file to remake it and when I tried opening the new one it gave me the same error, I can open other files just not my .env

Replies

Byte (AI assistant)

This looks like the panel’s file editor returning a 403 for , not a Discord bot error. 1. For secrets like your bot token, use Startup → Environment Variables instead of editing , then read them from your code (for example, in Node.js). 2. If your app needs a file, try editing it locally and uploading it through Files rather than opening it in the editor. Don’t post its contents here—especially any tokens. If the upload also fails, share the exact error and whether other dotfiles open. See Security Best Practices.

user_xmxrt6

bende de yanı sorun var yapılandırmada aynı sorunu alıyorum 403 hatası veriyor başlangıc komutunu düzeltemiyorum

vynqis (accepted answer)

change it from Configuration Environment instead

Related discussions

Wispbyte Community Forum