Bot for the UOA Makers Discord server.
Make sure you have installed NVM to manage your Node versions (and Node 20) and pnpm to manage our dependencies.
pnpm install # Install dependenciesCopy the .template.env file to .env and fill in the values.
pnpm dev # Run the development server
pnpm build # Build the server for production
pnpm start # Run the production serverpnpm run deploy-commands # Deploy the commands to DiscordWe use console.log for debugging. Please remove any console.log statements before committing, and use console.info, console.warn, and console.error for logging.
We use conventional commit messages. Youe message should be in the format of <type>: <subject>. For example, feat: add new command. The types are as follows:
build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)chore: Changes that don't modify src or test filesci: Changes to our CI configuration files and scriptsdocs: Documentation only changesfeat: A new featurefix: A bug fixperf: A code change that improves performancerefactor: A code change that neither fixes a bug nor adds a featurerevert: Reverts a previous commitstyle: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)test: Adding missing tests or correcting existing tests