From 483668fe1fe0f340e245775ad8cac2465dbbca3e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Apr 2019 16:57:20 +0200 Subject: [PATCH] Change notification timeout --- royalnet/commands/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/commands/play.py b/royalnet/commands/play.py index db54633d..6d187024 100644 --- a/royalnet/commands/play.py +++ b/royalnet/commands/play.py @@ -72,7 +72,7 @@ class PlayCommand(Command): async def common(cls, call: Call): guild, url = call.args.match(r"(?:\[(.+)])?\s*(.+)") download_task = loop.create_task(call.net_request(PlayMessage(url, guild), "discord")) - notify_task = loop.create_task(notify_on_timeout(call, url, time=20, repeat=True)) + notify_task = loop.create_task(notify_on_timeout(call, url, time=30, repeat=True)) try: response: PlaySuccessful = await download_task except Exception as exc: