add mention on message after timeout

This commit is contained in:
Enzo Nunes
2025-02-27 11:19:26 +00:00
parent 6bfed664d6
commit 46db758bd2

View File

@@ -59,7 +59,7 @@ async def picable(interaction: Interaction, owner: str, repository: str):
f"The analysis for {repository_full_name} is still taking place. The results will be posted here once the analysis is complete. :clock4:"
)
result = await result_future
await interaction.channel.send(result)
await interaction.channel.send(f"{interaction.user.mention}\n{result}")
except Exception as e:
print(f"Error processing PICable check: {e}")
await interaction.channel.send("An error occurred while processing your request. Please try again later.")