A Discord bot that generates images using slash commands with the help of OpenAI's DALL-E 3 model.
-
Install Bun globally
-
Run
bun install
-
Add environment variables to the
.env
file using the provided sample file.- You'll need a generate and OpenAI API key. Refer to OpenAI's documentation to obtain the API key.
- Create a Discord bot and obtain the associated secret, which also needs to be added to the
.env
file.
-
Run
bun run start