Ask coding questions

← Back to all posts
Discord JS Moderation Bot
DanielAnsah (1)

I need help with bots for discord I am a beginner

Comments
hotnewtop
ItzMalakai (6)

Create file a called .env
type in TOKEN= <Your-TOKEN> and that should work.

Correct me if I'm wrong lol, beginner also :)

Blessedchan (1)

dude make your env file .env instead of env. and also RESET YOUR TOKEN WHEN YOU DO THIS

GrayWiddow13 (0)

umm i would fist make the env file a .env bc everyone can see your bots token now.

GrayWiddow13 (0)

Just renamimg the file to .env instead of just env

@Abbbawal