add mention on message after timeout
This commit is contained in:
2
main.py
2
main.py
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user