File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Midjourney
2
-
2
+ A Discord Bot that can generate text based on a given prompt using [ Replicate ] ( https://replicate.com/ )
3
3
4
4
## Installation
5
5
6
+ [ x] Create Discord Bot and get token and client id from [ Discord Developer Portal] ( https://discord.com/developers/applications )
7
+
8
+ [ x] Download [ Node.js] ( https://nodejs.org/en/download/ )
9
+
10
+ [ x] Create [ Replicate] ( https://replicate.com/ ) account and get token
11
+
12
+ [ x] Download Midjourney
13
+
6
14
``` bash
7
15
git clone https://github.com/brblacky/Midjourney.git
8
16
cd Midjourney
9
17
npm install
10
18
```
11
-
19
+ ## Configuration
20
+
21
+ [ x] Edit ` config.ts ` file
22
+
23
+ ``` ts
24
+ export default {
25
+ token: " " , // Discord Bot Token
26
+ clientId: " 1109838882805125190" , // Discord Bot Client ID
27
+ color: " #00ff00" ,
28
+ replicateToken: " " , // Replicate Token from https://replicate.com/signin
29
+ model: " stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf" as any
30
+ }
31
+ ```
12
32
## Usage
13
33
14
34
``` bash
You can’t perform that action at this time.
0 commit comments