From 243f2262a72b6f0df8a38649251d850181e92808 Mon Sep 17 00:00:00 2001 From: brblacky Date: Sun, 14 Apr 2024 11:17:11 +0530 Subject: [PATCH] Fix formatting and update README.md, package.json, and Prisma setup instructions --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 83ac56f8c..09fb5fbf6 100644 --- a/README.md +++ b/README.md @@ -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: - ## Prisma Setup 1. generate the prisma client @@ -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: + + ## 🚀 Installation using Docker Compose This section assumes you have Docker and Docker Compose installed and running correctly.