mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-09-17 16:52:47 +00:00
up max_attempt to 30
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ async def rename_vc(bot: discord.Bot, voice_channel, from_scheduler: bool = Fals
|
|||||||
_scheduled_task.cancel()
|
_scheduled_task.cancel()
|
||||||
|
|
||||||
attempt = 0
|
attempt = 0
|
||||||
max_attempt = 15
|
max_attempt = 30
|
||||||
trip = choose_connection()
|
trip = choose_connection()
|
||||||
while trip is None and attempt < max_attempt:
|
while trip is None and attempt < max_attempt:
|
||||||
attempt += 1
|
attempt += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user