From fea97880abf8530b083e5e7d725a9995d7d31e82 Mon Sep 17 00:00:00 2001 From: panitan103 Date: Mon, 30 Mar 2026 11:48:06 +0700 Subject: [PATCH] remove android for BLBL in discord downloader --- usk_downloader_discord.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/usk_downloader_discord.py b/usk_downloader_discord.py index 6c2bcbe..3067e44 100755 --- a/usk_downloader_discord.py +++ b/usk_downloader_discord.py @@ -124,9 +124,6 @@ async def on_ready(): original_url="For BiliBili: Original URL to download from (optional, e.g., https://www.bilibili.com/video/BV1xxxxxx)", original_language="For BiliBili: Original language(s) to use (default: ja)", movie="For BiliBili | Laftel: Is this a movie? (default: False, True for movies, False for series)", # New parameter to indicate if it's a movie - android= "For BiliBili: Use Android app (default: False, True for Android, False for Web)" - - ) @app_commands.choices(keys=[ app_commands.Choice(name="True", value='True'), @@ -186,10 +183,6 @@ async def on_ready(): app_commands.Choice(name="True", value='True'), app_commands.Choice(name="False", value='False'), ]) -@app_commands.choices(android=[ - app_commands.Choice(name="True", value='True'), - app_commands.Choice(name="False", value='False'), -]) @app_commands.choices(no_cache=[ app_commands.Choice(name="True", value=1), app_commands.Choice(name="False", value=0), @@ -228,7 +221,6 @@ async def download_command( original_url: Optional[str] = None, original_language: Optional[str] = "ja", movie: Optional[str] = 'False', - android: Optional[str] = 'True', ): # Check if user has permission @@ -293,7 +285,6 @@ async def download_command( 'original_url': original_url, 'original_language': original_language.lower() if original_language else None, 'movie': movie if movie is not None else 'False', - 'android': android if android is not None else 'False' } }