ive been using .json to keep my token for like 6 days but only now realised it was public… so i was told make a .env but that doesn’t seem to work anymore?
Use the Secrets tab. You can find this in the Tools section of the file tree.
and how to i run this in my code? like how do i use my ‘token’ yes i know its explained but i don’t understand
In the Tools section, hit “Secrets”
Then, set the name of your token.
This does the equivalent of creating an env file with
Is there a difference between using
2 different ways to get it I guess. That’s how you get it in Python and I never really used secrets in Python.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.