We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In line 5 of app.py, there is a secret exposed in public code:
5
app.py
1 from pypresence import Presence 2 import time 3 from itertools import cycle 4 5 client_id = <secret code!> 6 7 start_time = time.time() 8 9 RPC = Presence(client_id=client_id) 10 RPC.connect()
I strongly suggest using python-dotenv if you don't want others to see your Discord client ID and do whatever they want with it.
python-dotenv
The text was updated successfully, but these errors were encountered:
As far as I know, client_id is safe to expose as this is used to identify the app you're going to display in the rich presence.
similarly to vimsence : the client_id is also exposed
BTW, thanks for the concern
Sorry, something went wrong.
No branches or pull requests
In line
5
ofapp.py
, there is a secret exposed in public code:I strongly suggest using
python-dotenv
if you don't want others to see your Discord client ID and do whatever they want with it.The text was updated successfully, but these errors were encountered: