1 unstable release
0.2.0 | Feb 7, 2023 |
---|
#6 in #diffusion
165KB
4.5K
SLoC
exilent
A Discord bot, written in Rust, that provides a frontend to AUTOMATIC1111's Stable Diffusion Web UI.
Many thanks to aiyabot, which paved the way for Discord bots for A1111. I just needed to build something to test my client library :)
Setup
- Set up your Web UI instance as per the instructions, adding
--api --listen
to the launch arguments. - Install Rust 1.65 or above using
rustup
. - Create a Discord application and fill it out with your own details.
- Go to
Bot
and create a new Bot.- Hit
Reset Token
, and copy the token it gives you somewhere.
- Hit
- Go to
OAuth2 > URL Generator
, selectbot
, then selectSend Messages
andUse Slash Commands
.- Go to the URL it generates, and then invite it to a server of your choice.
- Run
cargo run --release
to start Exilent. This will auto-generate a configuration file, and then quit. - Fill in the configuration file with the required details.
- You can then run Exilent to your heart's content.
Dependencies
~61MB
~1M SLoC