Skip to content

Commit

Permalink
add comment after mention str
Browse files Browse the repository at this point in the history
  • Loading branch information
dylmye committed Mar 21, 2021
1 parent 617333e commit a37b4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def lambda_handler(event, context):
return_obj["body"] = json.dumps({ "executed": False, "error": "no subscription in request, or subscription type is incorrect.", "debug_event_obj": data })
return return_obj

mention_str = ('@everyone' if DISCORD_ROLE_ID == 'everyone' else '<@&' + DISCORD_ROLE_ID + '>')
mention_str = ('@everyone, ' if DISCORD_ROLE_ID == 'everyone' else '<@&' + DISCORD_ROLE_ID + '>, ')
cache_buster = str(datetime.utcnow().isoformat(timespec='minutes')).replace('-', '').replace(':', '')

data = {
Expand Down

0 comments on commit a37b4b9

Please sign in to comment.