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
.env
with the environment variables listed below - Run
yarn install
in 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!