Skip to content

Official "Engineering Student Committee, Chulalongkorn University" Discord Bot

License

Notifications You must be signed in to change notification settings

esc-chula/esc-discord-bot

Repository files navigation

ESC Discord Bot

This is the official "Engineering Student Committee, Chulalongkorn University" Discord bot.

Features

  • 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

Getting Started

Download Modules

go mod download

Configuration

Create 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.

Run the Bot

go run ./cmd/bot/main.go

Docker

Build

docker build . -t esc-discord-bot

Run

docker run --env-file .env --name esc-discord-bot -p 8080:8080 esc-discord-bot

Note: change port number to your desired

About

Official "Engineering Student Committee, Chulalongkorn University" Discord Bot

Resources

License

Stars

Watchers

Forks

Packages