Why some files get hidden?


#1

Why is that when you enter the token in the settings file and then when you open the project again, the settings file get disappeared but the bot still runs. This happens with my every bot (I have 3 of them now). Any solution to edit those files?


#2

Hi @Infinity1231 it seems to me like you settings file is hidden from the editor, perhaps in a gitignore file. If you share one or more of your project names I can verify this.

If you’re not keeping your bot’s secret information (like tokens) in the .env file, it’s good practice to have them in a file that’s been gitignored so they are less likely to be leaked.


#3

You are right. It was in .gitgnore