forked from AI621/ai621
1
0
Fork 0

markdown: pre -> code

pre doesn't allow to copy prompt by clicking on it
This commit is contained in:
nameless 2023-08-15 20:49:45 +00:00
parent 44cbd89d30
commit 5ba5b6043c
1 changed files with 2 additions and 2 deletions

4
bot.py
View File

@ -551,8 +551,8 @@ async def edit_prompt(ev):
🖼 Starting image: {'None' if p['image'] == 'no_image' else ('https://e621.net/posts/'+str(p['image_e6']) if p['image_e6'] else 'User uploaded image')} 🖼 Starting image: {'None' if p['image'] == 'no_image' else ('https://e621.net/posts/'+str(p['image_e6']) if p['image_e6'] else 'User uploaded image')}
🌱 Seed: {p['seed']} 🌱 Seed: {p['seed']}
👀 Prompt: <pre>{p['prompt']}</pre> 👀 Prompt: <code>{p['prompt']}</code>
Negative prompt: <pre>{p['negative_prompt'] or 'no negative prompt set.'}</pre> Negative prompt: <code>{p['negative_prompt'] or 'no negative prompt set.'}</code>
<b>Do not touch these if you don't know what you're doing</b> <b>Do not touch these if you don't know what you're doing</b>
🔢 Number of images: {p['number']} 🔢 Number of images: {p['number']}