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
You can clone the repository and install dependencies with the following commands.
Cloning repository.
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
If you want to contribute for this project read the general community contributing guide.
After you are done reading the general community contributing guide we also would recommend you to read the Starting section, then you would know the basics for contributing to this project.
It may be useful to use some commands during development, in which case you can use the following commands below:
if you use
npm
you can use the commands withnpm run <command>
or if you useyarn
run
is not necessary, for exemple.yarn dev # or npm run dev
build
- Build project.
start
- Run built project.
test
- Run tests.
dev
- Start project with development code.
lint
- Start ESLint checker.
typeorm
- Use the TypeORM CLI.
This project is under the GNU General Public License v3.0. You can read more about it here.