Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion event_step1.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def event_processor(event_payload):

# the event will have a subtype if it's an automated or bot message
# ignoring those and exiting early, avoiding infinite loops
if "subtype" in event_payload["event"]:
if "bot_id" in event_payload["event"]:
return True
# other cases are messages posted by users, responding
else:
Expand Down