Skip to content

Commit 783cefd

Browse files
authored
Update interactions.py
add patch to increase timeout of discord wrapped interactions
1 parent a7634d9 commit 783cefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async def _wrapped_interaction(
209209
i = await state.client.wait_for(
210210
'interaction_finish',
211211
check=lambda d: d.nonce == nonce,
212-
timeout=12,
212+
timeout=300,
213213
)
214214
except (asyncio.TimeoutError, asyncio.CancelledError) as exc:
215215
raise InvalidData('Did not receive a response from Discord') from exc

0 commit comments

Comments
 (0)