From 960bacea42119d043241bf789ba5a4a74e35d6c8 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel <90426410+lucmsilva651@users.noreply.github.com> Date: Sun, 2 Jun 2024 13:36:05 +0000 Subject: [PATCH] Updated README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 39819b2..7bab3ab 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,13 @@ Next, go to the repository directory, create a ``config.env`` file and put the c ``` # insert your bot token here # get it with @BotFather on Telegram -TGBOT_TOKEN=0000000000:AAAaaAAaaaaAaAaaAAAaaaAaaaaAAAAAaaa +TGBOT_TOKEN="0000000000:AAAaaAAaaaaAaAaaAAAaaaAaaaaAAAAAaaa" +TGBOT_ADMINS=[0000000000, 1111111111, 2222222222] ``` -Put your bot token that you created at [@BotFather](https://t.me/botfather) at the variable ``TGBOT_TOKEN`` (as the example above) and save the file. +- **TGBOT_TOKEN**: Put your bot token that you created at [@BotFather](https://t.me/botfather) at the variable ``TGBOT_TOKEN`` (as the example above). +- **TGBOT_ADMINS**: Put the ID of the people responsible for managing the bot (as the example above). They can use some administrative + exclusive commands on any group. -At last, run the bot with ``npm start``. +After editing the file, save all changes and run the bot with ``npm start``. ## About/License MIT - 2024 Lucas Gabriel (lucmsilva).