- Verify if discord user is a real uni student through official email
Run npm start
Use container by
docker build -t sauravyash/invsoc-discord-bot .
docker run -t -p 80:80 sauravyash/invsoc-discord-bot
Don't forget to pass env vars.
Add file docker-compose.yml
version: "3.8"
services:
app:
build: .
ports:
- 80:80
environment:
token: ""
guildID: ""
DBhost: ""
DBuser: ""
DBpassword: ""
DBdatabase: ""
user: ""
port: 80
clientId: ""
clientSecret: ""
accessToken: ""
refreshToken: ""
URL: "invsoc-verify.sauravyash.com"
- from Client ID to Refresh token must be generated with the google API for Gmail.
token
is for Discord bot- DB is for ClearDB instance
- user is the Gmail email
- URL is the url used for the server