Clone this repository:
git clone https://github.com/semaphore-protocol/discord-bot.gitAnd install the dependencies:
cd discord-bot && yarnCopy the .env.example file as .env:
cp .env.example .envAdd your environment variables and run:
yarn startRun ESLint to analyze the code and catch bugs:
yarn lintRun Prettier to check formatting rules:
yarn prettierOr to automatically format the code:
yarn prettier:writeSemaphore uses conventional commits. A command line utility to commit using the correct syntax can be used by running:
yarn commitIt will also automatically check that the modified files comply with ESLint and Prettier rules.