fix tagging directly sent files
This commit is contained in:
parent
c4352df8fc
commit
e5c66265f3
1 changed files with 2 additions and 3 deletions
|
@ -251,9 +251,8 @@ class DelojzaBot:
|
||||||
reply += ' to "' + hashtag + '"'
|
reply += ' to "' + hashtag + '"'
|
||||||
reply += '...'
|
reply += '...'
|
||||||
|
|
||||||
audio = False
|
audio = any([tag in hashtag for tag in ('AUDIO', 'RADIO')])
|
||||||
if any([tag in hashtag for tag in ('AUDIO', 'RADIO')]) and download_fn != self.download_raw:
|
if audio and download_fn != self.download_raw:
|
||||||
audio = True
|
|
||||||
reply += ' (And also guessing you want to extract the audio)'
|
reply += ' (And also guessing you want to extract the audio)'
|
||||||
|
|
||||||
message.reply_text(reply)
|
message.reply_text(reply)
|
||||||
|
|
Loading…
Reference in a new issue