Discord detect when i have the token in a file on github and reset this. I have tried putting it in an .env file and also the default .gitignore for python but it doesn't work. I don't understand much of this, any solution?
Personally using. env and I put that in my .gitignore and it works fine for me. Are you sure you opened the project in the same directory as your .git file?
Besides that you should be able to see what GitHub pushes to GitHub by downloading GitHub Desktop. Which you can download here.