fix: prevent scout view timeout reset when embed updates
message.edit(view=self) re-registers the view in discord.py's ViewStore, resetting the 30-minute timeout timer. Scouted packs never showed "Scout Window Closed" because each scout pushed the timeout further out. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
33260fd5fa
commit
a509a4ebf5
@ -88,7 +88,7 @@ class ScoutView(discord.ui.View):
|
||||
)
|
||||
|
||||
try:
|
||||
await self.message.edit(embed=embed, view=self)
|
||||
await self.message.edit(embed=embed)
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to update scout message: {e}")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user