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

Function main

integration_tests/samples/issues/issue_926.py:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10async def main():
11 client = SocketModeClient(app_token=os.environ["SLACK_APP_TOKEN"])
12 await client.connect()
13 await asyncio.sleep(3)
14 await client.close()
15
16
17if __name__ == "__main__":

Callers 1

issue_926.pyFile · 0.70

Calls 3

connectMethod · 0.95
closeMethod · 0.95
SocketModeClientClass · 0.90

Tested by

no test coverage detected