finish merge
This commit is contained in:
2
main.py
2
main.py
@@ -85,7 +85,7 @@ async def picable(interaction: Interaction, owner: str, repository: str):
|
|||||||
try:
|
try:
|
||||||
result_future = create_task(handle_picable(owner, repository, repository_size_kb, github_token))
|
result_future = create_task(handle_picable(owner, repository, repository_size_kb, github_token))
|
||||||
try:
|
try:
|
||||||
result = await wait_for(shield(result_future), timeout=5)
|
result = await wait_for(shield(result_future), timeout=600)
|
||||||
await interaction.followup.send(result)
|
await interaction.followup.send(result)
|
||||||
except TimeoutError:
|
except TimeoutError:
|
||||||
await interaction.followup.send(
|
await interaction.followup.send(
|
||||||
|
|||||||
Reference in New Issue
Block a user