A Telegram companion bot for https://t.me/fullstackbroadcast
- Forwards every channel post to a group.
- Receive messages from users and send 'em to a group.
- Delete duplicated links posted on the channel.
Clone this repository:
git clone https://github.com/domcorvasce/fullstack-broadcast-bot
Then install project dependencies using your favourite Node package manager:
cd fullstack-broadcast-bot
npm i
The bot requires a set of environment variable to configure itself.
Copy .env.example
to .env
and fill it with the necessary information.
The WELCOME_MESSAGE environment variable must contain the %s
placeholder that'll be replaced with the new user's name. Otherwise, the name will be appended at the end of the message.
Once you've filled the .env
file, you're ready to start the bot.
By default, the bot will use long polling
instead of webhooks
so you don't need any other configuration:
node index.js
This repository is licensed under GNU/GPL v3.