Skip to content

Commit

Permalink
Add a message event listener that catch the rest #706
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Aug 22, 2022
1 parent a0c0909 commit 4f6c4a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/events_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ def mention_bug(logger, body):
logger.info(body)


@app.event("message")
def ack_the_rest_of_message_events(logger, body)
logger.info(body)


if __name__ == "__main__":
app.start(3000)

Expand Down

0 comments on commit 4f6c4a9

Please sign in to comment.