Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joehoel/compagnon

Discord bot built with Discord.js, Typescript, Node.js and Prisma. Mainly used in a private server with friends
https://github.com/joehoel/compagnon

compagnon discord discord-bot discord-js nodejs pnpm prisma typescript

Last synced: 5 days ago
JSON representation

Discord bot built with Discord.js, Typescript, Node.js and Prisma. Mainly used in a private server with friends

Awesome Lists containing this project

README

        

# Compagnon

Discord bot built with Discord.js, Typescript, Node.js, TypeORM and MongoDB. Mainly used in a private server with friends

## Requiremnts

- [node.js](https://nodejs.org/en/download/)
- [pnpm](https://pnpm.io/installation)
- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)

## Getting started

Clone the repository

```bash
git clone https://github.com/Joehoel/compagnon.git

cd compagnon
```

Add environment variables

```bash
cp .env.example .env
```

Fill in the variables

```env

TOKEN=
CLIENT_ID=
DATABASE_URL=

GUILD_ID=
GIPHY_API_KEY=
```

Generate the prisma client

```bash
pnpm dlx prisma generate
```

Install dependencies

```bash
pnpm install
```

Start the development server

```bash
pnpm dev
```

---

Made with <3 by Joël Kuijper