Fixed Stupidness2

This commit is contained in:
jmueller
2023-12-14 21:49:52 +01:00
parent 381aebcea1
commit 81cd9a6f01

View File

@@ -781,7 +781,7 @@ class report_buttons(discord.ui.View):
description="Bitte wähle einen oder mehrere Rekruten aus", description="Bitte wähle einen oder mehrere Rekruten aus",
color=discord.Colour.blurple(), # Pycord provides a class with default colors you can choose from color=discord.Colour.blurple(), # Pycord provides a class with default colors you can choose from
) )
interaction.response.send_message(embed=embed, view=generate_report25_inst) await interaction.response.send_message(embed=embed, view=generate_report25_inst)
@discord.ui.button(label="Daten aktualisieren", style=discord.ButtonStyle.secondary, row=2, custom_id="report_buttons_refresh") @discord.ui.button(label="Daten aktualisieren", style=discord.ButtonStyle.secondary, row=2, custom_id="report_buttons_refresh")
async def refresh_button(self, button, interaction): async def refresh_button(self, button, interaction):