default audio dls to /#AUDIO
This commit is contained in:
parent
950a06d304
commit
fe6479c7ff
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ def handle_rest(bot, update):
|
||||||
update.message.reply_text('Ignoring...')
|
update.message.reply_text('Ignoring...')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if not hashtag and update.message.audio is not None:
|
||||||
|
hashtag = 'AUDIO'
|
||||||
|
|
||||||
reply = 'Downloading'
|
reply = 'Downloading'
|
||||||
if hashtag:
|
if hashtag:
|
||||||
mkdir_p(f'{OUT_DIR}/{hashtag}')
|
mkdir_p(f'{OUT_DIR}/{hashtag}')
|
||||||
|
|
Loading…
Reference in a new issue