A Discord bot using Discord API
and Stable Diffusion .safetensor
models; generates images from its own Discord posts that start with .art:>
.
main.py , B07_C0R3.py , _init_botname.yaml , _init__global.yaml
- CUDA drivers https://developer.nvidia.com/cuda-downloads
- PyTorch with CUDA https://pytorch.org/get-started/locally/ Both websites allow you to pick your OS and provide easy install instructions. Note: with PyTorch choose CUDA 12.1. No worries that the latest CUDA is 12.3 (as of 09 feb 2024).
- Install all required python libraries (discord)
- Clone the repository to your local machine.
- Configure your bot by modifying the example
_init_botname.yaml
template. - Create a system environment variable for your bot's DISCORD_TOKEN
- Run the bot using
python main.py botname
.