Skip to content

Commit 4f6c4a9

Browse files
committed
Add a message event listener that catch the rest #706
1 parent a0c0909 commit 4f6c4a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/events_app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ def mention_bug(logger, body):
3535
logger.info(body)
3636

3737

38+
@app.event("message")
39+
def ack_the_rest_of_message_events(logger, body)
40+
logger.info(body)
41+
42+
3843
if __name__ == "__main__":
3944
app.start(3000)
4045

0 commit comments

Comments
 (0)