So here is my code in the .env
file:
TOKEN = %token here%
PREFIX = s+
And for some reason I cannot access it through process.env.TOKEN
.
MOD EDIT: removed token
So here is my code in the .env
file:
TOKEN = %token here%
PREFIX = s+
And for some reason I cannot access it through process.env.TOKEN
.
MOD EDIT: removed token
You just leaked your bot token. Recommend you delete that and reset your token
.env
file.Just remove spaces around variables. Hope it helps!
Hi @vamik64, I’ve removed your bot’s token from the post, but as @LightningsFury mentioned you should rotate the token just in case.
The token was fake, I tried showing that it was fake, it was something like this tH1s IS a f4k3 t0k3n but merged. It is fine anyway though