Group Manager Bot
Group Manager is a bot to help group manage their groups
Preriquisites
- Node.js
- yarn
- ngrok (optional - running locally)
Running
Development
This assumes that you have ngrok setup on your system
Clone this project
git clone https://github.com/krivahtoo/group-manager.git
Install node dependencies using yarn
yarn
Start ngrok on port 3000 and copy the url.
ngrok http 3000
Create .env
file and add
BOT_TOKEN="Your : token here...."
PORT=3000
URL='xxxxx.ngrok.io'
# Comma separated admin ids
ADMINS=182383,1234455
Start your bot
yarn dev
Production
The following env variables are required for production
BOT_TOKEN="Your : token here...."
PORT=3000
# Comma separated admin ids
ADMINS=182383,1234455
Starting your bot
yarn start