1
0
Fork 0
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:
Myned 2022-03-04 00:03:14 -06:00
parent 534544d598
commit bb05aa6d29
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

View file

@ -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: