Skip to content

Commit

Permalink
Fix handling for vote-based tips
Browse files Browse the repository at this point in the history
  • Loading branch information
hiveuprss committed Jul 11, 2021
1 parent 09918b0 commit e94e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pizza-bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def hive_posts_stream():
continue

# check if spanish language comment templates should be used
use_spanish_templates = ESP_BOT_COMMAND_STR in op['body']
use_spanish_templates = 'body' in op.keys() and ESP_BOT_COMMAND_STR in op['body']

message_body = '%s asked to send a slice to %s' % (author_account, parent_author)
post_discord_message(ACCOUNT_NAME, message_body)
Expand Down

0 comments on commit e94e55d

Please sign in to comment.