remove android for BLBL in discord downloader
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user