Skip to content

Commit

Permalink
Set thinking parameter to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Aug 23, 2024
1 parent 711ab4b commit e626d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/discord/spellbook_discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class FindMyCombosModal(ui.Modal, title='Find My Combos'):
)

async def on_submit(self, interaction: discord.Interaction[commands.Bot]) -> None:
await interaction.response.defer(ephemeral=interaction.guild is not None)
await interaction.response.defer(ephemeral=interaction.guild is not None, thinking=True)
if interaction.message is not None:
await interaction.message.add_reaction('🔍')
commanders = process_decklist(self.commanders.value)
Expand All @@ -322,7 +322,7 @@ async def find_my_combos(interaction: discord.Interaction, decklist: str | None
'''
if decklist:
if uri_validator(decklist):
await interaction.response.defer(ephemeral=interaction.guild is not None)
await interaction.response.defer(ephemeral=interaction.guild is not None, thinking=True)
try:
result = await API.card_list_from_url.get(
request_configuration=RequestConfiguration[API.card_list_from_url.CardListFromUrlRequestBuilderGetQueryParameters](
Expand Down

0 comments on commit e626d6c

Please sign in to comment.