Added Codeblock
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
FROM python:3.10
|
FROM python:3.10
|
||||||
LABEL authors="jmueller"
|
LABEL authors="jmueller"
|
||||||
|
|
||||||
ADD main.py .
|
|
||||||
RUN pip install py-cord mariadb python-dotenv
|
RUN pip install py-cord mariadb python-dotenv
|
||||||
|
ADD main.py .
|
||||||
CMD ["python", "./main.py"]
|
CMD ["python", "./main.py"]
|
||||||
|
|||||||
4
main.py
4
main.py
@@ -748,9 +748,11 @@ class generate_report25(discord.ui.View):
|
|||||||
for vote in no_votes:
|
for vote in no_votes:
|
||||||
nick = guild.get_member(vote[0]).display_name
|
nick = guild.get_member(vote[0]).display_name
|
||||||
description = description + "Begründung von " + nick + ": " + vote[1] + "\n"
|
description = description + "Begründung von " + nick + ": " + vote[1] + "\n"
|
||||||
description = description + "\n\n"
|
description = description + "\n"
|
||||||
|
description = description + "```"
|
||||||
embed.description = description
|
embed.description = description
|
||||||
await interaction.followup.send(embed=embed, ephemeral=True)
|
await interaction.followup.send(embed=embed, ephemeral=True)
|
||||||
|
await self.message.delete()
|
||||||
|
|
||||||
|
|
||||||
class report_buttons(discord.ui.View):
|
class report_buttons(discord.ui.View):
|
||||||
|
|||||||
Reference in New Issue
Block a user