Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joehoel/compagnon
- Owner: Joehoel
- License: mit
- Created: 2020-07-26T19:20:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T14:42:06.000Z (11 months ago)
- Last Synced: 2024-03-07T12:01:21.267Z (11 months ago)
- Topics: compagnon, discord, discord-bot, discord-js, nodejs, pnpm, prisma, typescript
- Language: TypeScript
- Homepage:
- Size: 2.24 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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.gitcd 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