Skip to content
New issue

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

Telegram TOKEN visible #2

Open
mattura opened this issue Jun 18, 2018 · 1 comment
Open

Telegram TOKEN visible #2

mattura opened this issue Jun 18, 2018 · 1 comment

Comments

@mattura
Copy link

mattura commented Jun 18, 2018

Your Telegram TOKEN and openweathermap.org API key are published on github (responseController.py).

It would be a good idea to remove these (replace with YOUR-TOKEN-HERE or similar), or somebody could hijack your bot.

@TheSecurityDev
Copy link

TheSecurityDev commented Aug 17, 2021

BUMP

Anyone can take over this bot. (I haven't checked, maybe they already have).

You should use a .env file to store your environment variables. (import dotenv library, and use loadenv() to load the file. Then load the variable with os.getenv('TOKEN'), for example. Then add .env to .gitignore.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants