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 1a702bd commit 165b03eCopy full SHA for 165b03e
e2e/scripts/send-messages-to-slack.py
@@ -2,9 +2,9 @@
2
3
import os
4
import sys
5
-import slack
+from slackclient import SlackClient
6
7
-slack_client = slack(token=os.environ['SLACK_API_TOKEN'])
+slack_client = SlackClient(token=os.environ['SLACK_API_TOKEN'])
8
channelName = "ibm-vpc-block-csi-e2e"
9
def channel_info(channel_id):
10
channels_info = slack_client.api_call("channels.info", channel=channel_id)
@@ -47,4 +47,4 @@ def send_message (FilePath):
47
if isAttachment == "True" or isAttachment == "true":
48
send_file(filePath)
49
else:
50
- send_message(filePath)
+ send_message(filePath)
0 commit comments