transitous rewrite: add max_duration

This commit is contained in:
Kaaninchen
2026-08-16 15:20:07 +02:00
parent 4598dcdc08
commit 1b0546ff4d
2 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ async def rename_vc(bot: discord.Bot, voice_channel, from_scheduler: bool = Fals
_scheduled_task.cancel()
attempt = 0
max_attempt = 10
max_attempt = 15
trip = choose_connection()
while trip is None and attempt < max_attempt:
attempt += 1