This is the code for the Telegram bot — @vipcasebot, that control VIP access to chat rooms and channels.
- Clone this repo:
git clone https://github.com/Kiku-Reise/vipcase - Launch the mongo database locally
- Create
.envwith the environment variables listed below - Run
yarn installin the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
USERNAME— Telegram bot usernameTOKEN— Telegram bot tokenCHANNEL_HANDLE— Handle of the Telegram ad channelCHANNEL_ID— ID of the Telegram ad channelMONGO— URL of the mongo database
Bot should be admin at CHANNEL_ID.
Also, please, consider looking at .env.sample.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!