Forked from https://github.com/sALTaccount/PromptInspectorBot
Inspect prompts 🔎 from images uploaded to discord
This Discord bot reacts to any image with generation metadata from Automatic1111's WebUI and ComfyUI. If generation metadata is detected, a magnifying glass react is added to the image. If the user clicks the magnifying glass, they are sent a DM with the image generation information.
Two context menu apps are provided. One sends an ephemeral response in the channel. The other activates the emoji reaction (🔎) DM based response (useful for channels the bot isn't watching).
python3 -m venv ./venv
pip3 install -r requirements.txt
Message Content Intent
in the Discord developer portalServer Members Intent
in the Discord developer portalBOT_TOKEN=<your discord bot token>
in the .env fileconfig.example.toml
to config.toml
config.toml
filepython3 PromptInspector.py