This is the official "Engineering Student Committee, Chulalongkorn University" Discord bot.
- Welcome message
- Webhook syncing users data from NocoDB
- User authentication via Bot DM
- Role assignment via Bot DM
- Nickname change via Bot DM
- Link and PATCH user Discord ID to users data in NocoDB
go mod downloadCreate a .env file in the root directory, example given in .env.example.
For further configuration, config-local.yml is provided.
If webhook is in use, do port forwarding so that NocoDB can trigger the webhook.
go run ./cmd/bot/main.godocker build . -t esc-discord-bot
docker run --env-file .env --name esc-discord-bot -p 8080:8080 esc-discord-botNote: change port number to your desired