mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 06:27:27 +00:00
Change selector timeout to 10 mins
This commit is contained in:
parent
534544d598
commit
bb05aa6d29
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@ async def _reverse(context, urls, *, selector=None):
|
|||
]
|
||||
|
||||
if len(pages) > 1:
|
||||
selector = components.Selector(pages=pages, buttons=[components.Back(), components.Forward()], timeout=900)
|
||||
selector = components.Selector(
|
||||
pages=pages,
|
||||
buttons=[components.Back(), components.Forward()],
|
||||
timeout=600,
|
||||
)
|
||||
|
||||
await selector.send_edit(context.interaction)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue