DALL·E mini as a discord bot. Use !help
to see the commands.
- You can deploy the bot to heroku as a starting point.
- Fill out
data.yaml
and configure the bot.
Add your bot token to the docker-compose.yml file (this will override the bot token in data.yaml), then build and run with docker-compose:
docker-compose build
docker-compose up -d
Pretty simple. Just type in:
!dalle <query>
e.g: !dalle Cats just won the super bowl
That's it! There's an option in the data.yaml
config file to change the prefix if you so desire. If you do so, the above command's !
will change to exactly whatever you set in the bot_prefix
line.
Example (thanks to @Cosmin96 for the collage):
Yes you can! To put an emote in the bot_prefix
line:
- Pull up your Discord client.
- Type a backslash and then the emote that you want to use. (i.e.
\:haha:
) - Hit Return. The emote's ID should be sent as a message.
- Copy that ID (in its entirety, do not drop the <> tags).
- Paste it into the
bot_prefix
line in yourdata.yaml
config file. - All done! You should be able to type your emote then your query.
You may report bugs, ask for help, and discuss various other issues on the issues page. Discord: Rawa.#7438
Version 1.0.1:
- Images are sent in a collage.
- Cleanup for collage added.
Version 1.0.0:
- Initial release.