You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,10 +106,11 @@ With over 100 slash command and over 50 prefix commands, Testify is an open sour
106
106
6. Paste your client ID into the `clientid` variable inside the `.env` file.
107
107
7. Navigate to your discord server, enable developer mode and right click the dropdown beside the server name.
108
108
8. Click `Copy Server ID` and paste it into the `guildid` variable inside the `.env` file.
109
-
9. Navigate to the `package.json` file and pay attention to the runnable commands listed under `scripts`.
110
-
10. Open the terminal in [Visual Studio Code](https://code.visualstudio.com/download) and install all necessary packages using `npm run setup`. This will install the dependencies and give you a brief install guide
111
-
11. Open a new terminal and type `npm run prod` to run the file without using **nodemon** or `npm run prod:nodemon` to run the bot with nodemon.
112
-
12. The bot should then turn online, you should be able to see this by the console logs that is setup upon start up
109
+
9. Visit the [Spotify web API docs](https://developer.spotify.com/documentation/web-api) and sign in. Once signed in, navigate to dashboard. Once on here, you'll need to create an app. Fill out the steps on the site to create your app. Once created, you'll need to copy your clientid and client secret into the `SPOTIFY_CLIENT_ID` & `SPOTIFY_CLIENT_SECRET` fields in the `.env` file. You can leave the `SPOTIFY_REDIRECT_URI` as it is. Only change this if you're updating the port of the Spotify server.
110
+
10. Navigate to the `package.json` file and pay attention to the runnable commands listed under `scripts`.
111
+
11. Open the terminal in [Visual Studio Code](https://code.visualstudio.com/download) and install all necessary packages using `npm run setup`. This will install the dependencies and give you a brief install guide
112
+
12. Open a new terminal and type `npm run prod` to run the file without using **nodemon** or `npm run prod:nodemon` to run the bot with nodemon.
113
+
13. The bot should then turn online, you should be able to see this by the console logs that is setup upon start up
113
114
114
115
-**Runnable commands (scripts)**
115
116
@@ -128,6 +129,9 @@ With over 100 slash command and over 50 prefix commands, Testify is an open sour
128
129
**setup-env:dev** - <br>
129
130
To run the setup of the `.env.development` file you can run the command `npm run setup-env:dev`, this generates a script in the console that generates a `.env.development` file and where you fill out the fields with whats required for the `.env.development` file and it writes it in the file.
130
131
132
+
**log-setup** - <br>
133
+
To run the setup of the colored logs in the `discord-logs` module. This saves you from manually doing the below method [Setting-up-audit-logs](#setting-up-audit-logs)
134
+
131
135
## Setting-up-audit-logs
132
136
133
137
To set the advanced logs registry for the Testify audit-logs ( the event handler registers ) than follow this!
0 commit comments