Video quality selection #5
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Borodutch/VideoDownloadBot!5
Loading…
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -7,28 +7,31 @@ help: |/help — this message/language — change language/audio — convert all files to audio/max_quality - automatically download videos in maximum qualityВместо этого, давай сделаем
/chooseResolution, который по дефолтуfalse@ -17,2 +17,4 @@import report from '@/helpers/report'import sendHelp from '@/handlers/sendHelp'import startMongo from '@/helpers/startMongo'import { resolutionMenu } from './menus/resolutionMenu'Не используй относительные импорты, только
@@ -0,0 +3,4 @@export default async function handleMaxQuality(ctx: Context) {ctx.dbchat.autoMaxQuality = !ctx.dbchat.autoMaxQualityawait ctx.dbchat.save()return ctx.reply(Use
replyWithLocalization@ -0,0 +35,4 @@report(error, { ctx, location: 'handleUrl' })return ctx.reply(ctx.i18n.t('error_cannot_start_download'), {reply_to_message_id: ctx.message?.message_id,})Use replyWithLocalization
@ -0,0 +13,4 @@shortId!: string@prop({ required: true })url!: string@prop({ required: true, type: () => [Number] })Можно обойтись без этого поля?
@ -0,0 +18,4 @@}const ShortUrlModel = getModelForClass(ShortUrl, {schemaOptions: { timestamps: true },Давай использовать
@modelOptions@ -0,0 +1 @@declare module 'random-token'Нам это точно нужно? Мы же делаем
requireClosing as stale since this project is no longer maintained in this shape. Thank you for the contribution!
Pull request closed