We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e912655 commit ccebf87Copy full SHA for ccebf87
nephthys/utils/slack.py
@@ -1,3 +1,4 @@
1
+import logging
2
from typing import Any
3
from typing import Dict
4
@@ -25,7 +26,7 @@
25
26
27
@app.event("message")
28
async def handle_message(event: Dict[str, Any], client: AsyncWebClient):
- print(event)
29
+ logging.debug(f"Message event: {event}")
30
is_message_deletion = (
31
event.get("subtype") == "message_changed"
32
and event["message"].get("subtype") == "tombstone"
0 commit comments