Skip to content

Commit

Permalink
Fix formatting and update README.md, package.json, and Prisma setup i…
Browse files Browse the repository at this point in the history
…nstructions
  • Loading branch information
appujet committed Apr 14, 2024
1 parent 051a231 commit 243f226
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,6 @@ BOT_ACTIVITY_TYPE=0 # Activity type is a number from 0 to 5 see more here https:
CLIENT_ID="." # This is your bot's client ID. If this value is left blank, bots cannot be invited using /invite or /about commands.
```

5. Run the bot:

```bash
npm start
```
if your prisma client is not generated then follow the below steps [Prisma Setup](#prisma-setup)

6. Invite the bot to your server:

Generate an invite link for your bot and invite it to your server using the Discord Developer Portal or using permissions calculator: <https://discordapi.com/permissions.html>

## Prisma Setup

1. generate the prisma client
Expand All @@ -162,6 +151,18 @@ npx prisma generate
npx prisma migrate dev --name init
```

5. Run the bot:

```bash
npm start
```
if your prisma client is not generated then follow the below steps [Prisma Setup](#prisma-setup)

6. Invite the bot to your server:

Generate an invite link for your bot and invite it to your server using the Discord Developer Portal or using permissions calculator: <https://discordapi.com/permissions.html>


## 🚀 Installation using Docker Compose

This section assumes you have Docker and Docker Compose installed and running correctly.
Expand Down

0 comments on commit 243f226

Please sign in to comment.