Skip to content

rawandahmad698/Dalle-Discord

Repository files navigation

py-Discord.png

Python 3.10

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.

Docker installation

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

How do I request?

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):

py-Discord.png

Can I use emotes in the prefix?

Yes you can! To put an emote in the bot_prefix line:

  1. Pull up your Discord client.
  2. Type a backslash and then the emote that you want to use. (i.e. \:haha:)
  3. Hit Return. The emote's ID should be sent as a message.
  4. Copy that ID (in its entirety, do not drop the <> tags).
  5. Paste it into the bot_prefix line in your data.yaml config file.
  6. All done! You should be able to type your emote then your query.

Support

You may report bugs, ask for help, and discuss various other issues on the issues page. Discord: Rawa.#7438

Change Log

Version 1.0.1:

  • Images are sent in a collage.
  • Cleanup for collage added.

Version 1.0.0:

  • Initial release.

About

DALL·E mini as a Discord bot? Say no more!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages