Improve draft list command feedback and messaging

- Update footer text to list available commands instead of confusing
  "manage" message (/draft-list only views, doesn't manage)
- Show updated queue after /draft-list-remove (matches /draft-list-add UX)
- Add helpful footer to /draft-list-clear success message

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2025-12-10 15:58:39 -06:00
parent f3351b10c7
commit c43f32fb41
2 changed files with 13 additions and 4 deletions

View File

@ -266,9 +266,17 @@ class DraftListCommands(commands.Cog):
await interaction.followup.send(embed=embed, ephemeral=True) await interaction.followup.send(embed=embed, ephemeral=True)
return return
# Success message # Get updated list
description = f"Removed **{player_obj.name}** from your draft queue." updated_list = await draft_list_service.get_team_list(
embed = EmbedTemplate.success("Player Removed", description) config.sba_season,
team.id
)
# Success message with full draft list
success_msg = f"✅ Removed **{player_obj.name}** from your draft queue."
embed = await create_draft_list_embed(team, updated_list)
embed.description = f"{success_msg}\n\n{embed.description}"
await interaction.followup.send(embed=embed) await interaction.followup.send(embed=embed)
@discord.app_commands.command( @discord.app_commands.command(
@ -329,6 +337,7 @@ class DraftListCommands(commands.Cog):
# Success message # Success message
description = f"Cleared **{len(current_list)} players** from your draft queue." description = f"Cleared **{len(current_list)} players** from your draft queue."
embed = EmbedTemplate.success("Queue Cleared", description) embed = EmbedTemplate.success("Queue Cleared", description)
embed.set_footer(text="Use /draft-list-add to build your queue")
await interaction.followup.send(embed=embed) await interaction.followup.send(embed=embed)

View File

@ -259,7 +259,7 @@ async def create_draft_list_embed(
inline=False inline=False
) )
embed.set_footer(text="Use /draft-list to manage your auto-draft queue") embed.set_footer(text="Commands: /draft-list-add, /draft-list-remove, /draft-list-clear")
return embed return embed