mirror of
https://code.lenaisten.de/Lenaisten/lenaverse-bot.git
synced 2024-11-21 22:43:01 +00:00
/post timeout handling
This commit is contained in:
parent
6cb7feddd2
commit
2978d7f98f
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ class PostModal(ui.Modal, title="Post verfassen"):
|
|||
# warten auf User-Entscheidung
|
||||
if await view.wait() is True:
|
||||
# Entscheidungszeit abgelaufen
|
||||
await interaction.user.send("Zeit abgelaufen, Post verworfen ")
|
||||
await interaction.delete_original_response()
|
||||
await interaction.user.send("Zeit abgelaufen, Post verworfen")
|
||||
_logger.info(
|
||||
f"User {interaction.user.name}({interaction.user.id}) timeout during /post"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue