For my first project in Python I am trying to create a Discord bot. My project is on a GitHub repo on public. Obviously I don't want my private bot key be accessible by anyone. I was wondering if there is a way for me to declare a variable on my local disk where I can put my key and just access it from my project. This way, anyone can consult my repo without having access to my key.
Thanks