mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +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:
|
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)
|
await selector.send_edit(context.interaction)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue