Skip to content

Commit

Permalink
Fix dynamic item views having a timeout causing it to evict
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapptz committed Dec 30, 2023
1 parent 9ce7333 commit 078b500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/ui/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ async def schedule_dynamic_item_call(
if interaction.message is None:
return

view = View.from_message(interaction.message)
view = View.from_message(interaction.message, timeout=None)

base_item_index: Optional[int] = None
for index, child in enumerate(view._children):
Expand Down

0 comments on commit 078b500

Please sign in to comment.