Introduction | Technologies | Contributing
A Discord bot for entertainment and guild management.
Project developed using the technologies below:
- Node.js
- Typescript
- Jest
- Docker
- Docker-compose
- TS-Node-Dev
- Node-CRON
- Discord.js
Before starting, read the general community contribution guide.
You can clone the repository and install dependencies with the following commands.
Clonando repositório.
git clone https://github.com/aHub-Tech/hub-discord.git
# gh repo clone aHub-Tech/hub-discord
Installing dependencies.
yarn install
Before starting the project you need to set some environment variables, create a .env
file at the root of the project, with the following variables.
# Secret token
SECRET_TOKEN=your_bot_secret_token
# Database informations
DATABASE_DB=your_database_name
DATABASE_HOST=your_database_host
DATABASE_PORT=your_database_port
DATABASE_USER=your_database_user
DATABASE_PASSWORD=your_database_password
To start the project you can use the following command.
yarn dev
Other commands can be used.
# Build the project
yarn buid
# Start built project
yarn start
# Start tests
yarn test
# Use TypeORM CLI
yarn typeorm