Added Codeblock

This commit is contained in:
jmueller
2023-12-14 22:12:09 +01:00
parent e584e44b93
commit 3f867325ef
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
FROM python:3.10
LABEL authors="jmueller"
ADD main.py .
RUN pip install py-cord mariadb python-dotenv
ADD main.py .
CMD ["python", "./main.py"]

View File

@@ -748,9 +748,11 @@ class generate_report25(discord.ui.View):
for vote in no_votes:
nick = guild.get_member(vote[0]).display_name
description = description + "Begründung von " + nick + ": " + vote[1] + "\n"
description = description + "\n\n"
description = description + "\n"
description = description + "```"
embed.description = description
await interaction.followup.send(embed=embed, ephemeral=True)
await self.message.delete()
class report_buttons(discord.ui.View):