Skip to content
Snippets Groups Projects
Unverified Commit 514418a0 authored by dnns01's avatar dnns01 Committed by GitHub
Browse files

Fix uuid for appointments

parent 43972ffd
No related branches found
No related tags found
1 merge request!5Fix uuid for appointments
......@@ -48,7 +48,7 @@ class AppointmentView(discord.ui.View):
if appointment:
appointment = appointment[0]
await interaction.response.send_message("", file=File(appointment.get_ics_file(),
filename=f"{appointment.title}.ics"), ephemeral=True)
filename=f"{appointment.title}_{appointment.uuid}.ics"), ephemeral=True)
@discord.ui.button(label='Löschen', style=discord.ButtonStyle.gray, custom_id='appointment_view:delete', emoji="🗑")
async def delete(self, interaction: discord.Interaction, button: discord.ui.Button):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment