- Create a .env file in the root directory of the bot.
- Add your Bot Token to the .env File. (Token=yourToken) (If you don't know how to create a Telegram Bot more information can be found here.) \
- If you want to limit the users that can access this Bot also add AllowedUsers=name1,name2,... to your .env file.
After that simply run the bot using
Node main.js