You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Endpoints are ears to your bot. Telegram will send all messages to this url so your bot can process them
**Endpoints can be anything but it is recommended that you make them a random string so no one can guess them. They are not secure and anyone can hijack your bot.
***Every bot must have a unique endpoint.
Start the server and set webhooks/commands
Open command prompt
Start server with node ./index.js
Open a web browser and visit localhost/refreshwebhooks to setup webhooks and bot commands.
Config options
Option
Description
Required
Default
bots
Bot details separated be | and new bot separated by ;
YES
cores
Number of cores server should use
NO
All available cores
port
Server port
NO
80
publicDir
Name of public directory.
NO
/public
domain_name
Domain name
NO
os.hostname()
telegram_api
Telegram API URL
NO
https://api.telegram.org
disable_dotenv
Disable .env file and use system environment variables
NO
FALSE
About
Small overnight project that is easily configurable and expandable. Bots reply to command with a audio note made from predefined audio files.