Brand spanking new Etkot Discord bot V2
- Run
npm install
to install all the dependencies - Run
npm run dev
to start the server in development mode - Run
npm run build
to build the project
The configuration is done via environment variables in the .env file. The following variables are available:
DC_TOKEN
- Discord bot secret
- The project uses Prettier to format the code
- Esbuild is used to transpile the typescript code to javascript
- Nodemon is used to restart the server when the code changes
- Currently it uses a custom node loader from here to achieve CommonJS like module resolution. This might change in future versions of Node.js so it might be removed in the future.