Skip to content

Commit

Permalink
Fix: reply to message so bot 'stops thinking'
Browse files Browse the repository at this point in the history
  • Loading branch information
S1ro1 committed Jan 23, 2025
1 parent 458c97e commit c46faf8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/discord-cluster-manager/cogs/leaderboard_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ async def on_submit_hook(
if not interaction.response.is_done():
await interaction.response.defer(ephemeral=True)
if len(gpus) == 1:
await send_discord_message(
interaction,
f"Running on GPU: **{gpus[0]}**",
ephemeral=True,
)
selected_gpus = gpus
else:
view = await self.select_gpu_view(interaction, leaderboard_name, gpus)
Expand Down

0 comments on commit c46faf8

Please sign in to comment.