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')}
🌱 Seed: {p['seed']}
👀 Prompt: <pre>{p['prompt']}</pre>
Negative prompt: <pre>{p['negative_prompt'] or 'no negative prompt set.'}</pre>
👀 Prompt: <code>{p['prompt']}</code>
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>
🔢 Number of images: {p['number']}