Make draft-list commands ephemeral

This commit is contained in:
Cal Corum 2025-10-24 22:59:17 -05:00
parent 43d166e417
commit 111a2959a0

View File

@ -64,7 +64,7 @@ class DraftListCommands(commands.Cog):
@logged_command("/draft-list")
async def draft_list_view(self, interaction: discord.Interaction):
"""Display team's draft list."""
await interaction.response.defer()
await interaction.response.defer(ephemeral=True)
config = get_config()
@ -109,7 +109,7 @@ class DraftListCommands(commands.Cog):
rank: Optional[int] = None
):
"""Add player to draft list."""
await interaction.response.defer()
await interaction.response.defer(ephemeral=True)
config = get_config()
@ -210,7 +210,7 @@ class DraftListCommands(commands.Cog):
player: str
):
"""Remove player from draft list."""
await interaction.response.defer()
await interaction.response.defer(ephemeral=True)
config = get_config()
@ -267,7 +267,7 @@ class DraftListCommands(commands.Cog):
@logged_command("/draft-list-clear")
async def draft_list_clear(self, interaction: discord.Interaction):
"""Clear entire draft list."""
await interaction.response.defer()
await interaction.response.defer(ephemeral=True)
config = get_config()