đŠâđģHow to Run This Bot in Local
Penduhulan
AutoForwards Bot is an open source project, anyone can develop it further, but before trying to develop it, it is good to know how to run this bot and how it works.
Tutorial Run in Local
Step 1 - Clone this project / Download this project
Before cloning, you must have git, you can get it here.
If you have opened the project page. Then click the <> Code button and copy the Project HTTPS link, as shown below
If so, you can open the git software, which you have installed before, then type
git clone <THE GIT LINK YOU COPIED>
if so press enter.still in the git software, type
cd TelegramBot-AutoForward
, and press enterif you have downloaded and installed NodeJS, the next step you can type in the git software,
npm i
and press enter. Wait for it to finishFinish
Git software, clone project and install nodejs package
Step 2 - Prepare .env
.env is the development environment needed to run this TelegramBot-AutoForward project, previously we have prepared the .env file, just fill in the values
Open the .env file, which is located in the TelegramBot-AutoForward folder (which you have cloned)
there are several keys that must be filled with value
First step open, my.telegram.org.
fill in your phone-number in the form provided by telegram, if so click next.
You will be asked to enter a confirmation code, you can check your telegram, the code sent by the telegram, and paste it on the form provided, if so, press sign in.
Click API development tools.
yey đ You can copy the App api_id and App api_hash columns, don't forget to fill in the App title and short name according to the bot you created..
If you have gotten all the codes and tokens, then fill in the .env file, according to the required values
Finish, YEY â¨
Step 3 - Running Bot
Once everything is ready, you just need to open cmd / git, then run npm run dev,
finished you can use every command on the bot, if there are bugs please write to issue dalam github

Last updated