MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / open

Function open

integration_tests/samples/issues/issue_506.py:16–20  ·  view source on GitHub ↗
(**payload)

Source from the content-addressed store, hash-verified

14
15@RTMClient.run_on(event="open")
16def open(**payload):
17 web_client = payload["web_client"]
18 auth_result = web_client.auth_test()
19 global_state.update({"bot_id": auth_result["bot_id"]})
20 logger.info(f"cached: {global_state}")
21
22
23@RTMClient.run_on(event="message")

Calls 1

auth_testMethod · 0.45