Skip to content

Instantly share code, notes, and snippets.

@Croluy

Croluy/.env Secret

Created June 7, 2023 19:41
Show Gist options
  • Save Croluy/8d3463130ad13b135ca28e5071780991 to your computer and use it in GitHub Desktop.
Save Croluy/8d3463130ad13b135ca28e5071780991 to your computer and use it in GitHub Desktop.
.env file to copy-paste and edit for DoggoReportBot
BOT_TOKEN="YOUR_BOT_TOKEN"
CREATOR_ID=YOUR_TELEGRAM_ID
CREATOR_NAME="YOUR_TELEGRAM_NAME"
LOG_CHANNEL=YOUR_TELEGRAM_LOG_CHANNEL_ID
CHANNEL_NAME="YOUR_TELEGRAM_CHANNEL_NAME"
@Croluy
Copy link
Author

Croluy commented Jun 8, 2023

  • Bot Token: It is the token of the bot provided to you by BotFather on Telegram. It is a secret code that gives full access to the bot. Has to be in quotes (or double quotes): ".
  • Creator ID: Your Telegram ID. You can get your ID with this tutorial or just Google "get personal telegram id".
  • Creator Name: It is your Telegram name/username. Has to be in quotes (or double quotes): ".
  • Log Channel: ID of the channel where the bot will log its more important actions. You have to be creator of this channel and to get its ID you can use this tutorial or just Google "get telegram channel id".
  • Channel Name: It is the name of the channel linked to your bot. NOT the log channel but the channel this bot is linked. Has to be in quotes (or double quotes): ".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment