Can be found on telegram as @ChannelActionsBot!
- Auto Approve new join requests.
- Auto Decline new join requests.
- Custom welcome messages.
git clone https://github.com/xditya/ChannelActions -b deno
-- Make a .env file as in .env.sample ---
deno task start
- Open deno deploy, create a new project.
- Fork the
deno
branch of this repo. - Search for this repo on deno deploy, set branch as deno, set file as
serverless.ts
- Add your environment vars and click "Link".
- Once done, open the deployment page, copy deployment URL, set your bot's
webhook using
https://api.telegram.org/bot<your_bot_token_here>/setWebhook?url=<deployment_url_here>/<your_bot_token_here>
.
The bot now has multi-language support. You can pr your local language to this repo!
- Go to the locales folder.
- Open any file, say en.ftl.
- Copy the contents, make a new file under the locales directory, named
lang_code.ftl
, wherelang_code
is your language code. - Edit the text in the new file, save it and make a pull request to this repository.
- That's it! The pr will be tested and merged.
- Telegram, @BotzHubChat