default audio dls to /#AUDIO

This commit is contained in:
Tomáš Mládek 2018-03-28 18:51:22 +02:00 committed by Tomáš Mládek
parent 950a06d304
commit fe6479c7ff

View file

@ -152,6 +152,9 @@ def handle_rest(bot, update):
update.message.reply_text('Ignoring...')
return
if not hashtag and update.message.audio is not None:
hashtag = 'AUDIO'
reply = 'Downloading'
if hashtag:
mkdir_p(f'{OUT_DIR}/{hashtag}')