Skip to content

Commit

Permalink
stop sending interaction in leaderboard list (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
b9r5 authored Dec 22, 2024
1 parent 68e3ba6 commit ae48cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord-cluster-manager/cogs/leaderboard_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ae48cb6

Please sign in to comment.