From ae48cb6de162692733b12b10e0526051c87c7007 Mon Sep 17 00:00:00 2001 From: Ben Horowitz Date: Sat, 21 Dec 2024 20:56:08 -0800 Subject: [PATCH] stop sending interaction in leaderboard list (#65) --- src/discord-cluster-manager/cogs/leaderboard_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord-cluster-manager/cogs/leaderboard_cog.py b/src/discord-cluster-manager/cogs/leaderboard_cog.py index ed03ef2..fcb03f0 100644 --- a/src/discord-cluster-manager/cogs/leaderboard_cog.py +++ b/src/discord-cluster-manager/cogs/leaderboard_cog.py @@ -250,7 +250,7 @@ async def get_leaderboards(self, interaction: discord.Interaction): deadline_str = lb["deadline"].strftime("%Y-%m-%d %H:%M") embed.add_field(name=lb["name"], value=f"Deadline: {deadline_str}", inline=False) - await interaction.followup.send(interaction, embed=embed) + await interaction.followup.send("", embed=embed) @discord.app_commands.describe( leaderboard_name="Name of the leaderboard",