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

BOT TOKEN removed! #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

theShinigami
Copy link
Collaborator

@theShinigami theShinigami commented Mar 19, 2020

BOT TOKEN REMOVED!

@Eyob-T
Copy link

Eyob-T commented Mar 19, 2020

Hey, although you removed the bot token from the file, the token is still visible from the history page. I think easiest thing to do is create a new bot to generate a new bot token and just read the token from another file (e.g token.js) and add the token.js file to .gitignoreI guess you can share the token with other trusted developers or make a private repository.

@theShinigami
Copy link
Collaborator Author

Sure, Thanks, i'll do that.

@Eyob-T
Copy link

Eyob-T commented Mar 19, 2020

@masterSal actually u don't need to create a new bot there is a command to generate a new token --> https://core.telegram.org/bots#generating-an-authorization-token says If your existing token is compromised or you lost it for some reason, use the /token command to generate a new one.

@dadenewyyt As the telegram BotFather says "Keep your token secure ... it can be used by anyone to control your bot"

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

Successfully merging this pull request may close these issues.

None yet

2 participants