cosmetics; make clear that the first hashtag is a special one
This commit is contained in:
parent
4f0f6cfc59
commit
4d74e08b00
1 changed files with 5 additions and 3 deletions
|
@ -287,10 +287,12 @@ class DelojzaBot:
|
|||
message.reply_text(reply)
|
||||
|
||||
filenames = download_fn(urls, out_path, message.date, message, audio=audio, filename=filename)
|
||||
tumblr_ids = []
|
||||
|
||||
if hashtags[0] in ('TUMBLR', 'TUMBLR_NOW') and self.tumblr_client:
|
||||
now = hashtags[0] == 'TUMBLR_NOW'
|
||||
cmd_hashtag = hashtags[0]
|
||||
|
||||
tumblr_ids = []
|
||||
if cmd_hashtag in ('TUMBLR', 'TUMBLR_NOW') and self.tumblr_client:
|
||||
now = cmd_hashtag == 'TUMBLR_NOW'
|
||||
reply = '(btw, {})'.format("***FIRING TO TUMBLR RIGHT AWAY***" if now else "queueing to tumblr")
|
||||
message.reply_text(reply, parse_mode=telegram.ParseMode.MARKDOWN)
|
||||
for filename in filenames:
|
||||
|
|
Loading…
Reference in a new issue