A Discord Bot that can generate text based on a given prompt using Replicate
[x] Create Discord Bot and get token and client id from Discord Developer Portal
[x] Download Node.js
[x] Create Replicate account and get token
[x] Download Midjourney
git clone https://github.com/brblacky/Midjourney.git
cd Midjourney
npm install
[x] Edit config.ts
file
export default {
token: "", // Discord Bot Token
clientId: "1109838882805125190", // Discord Bot Client ID
color: "#00ff00",
replicateToken: "", // Replicate Token from https://replicate.com/signin
model: "stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf" as any
}
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.