File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ _Note:_ You must obtain a token for the user/bot. You can find or generate these
3434import time
3535from slackclient import SlackClient
3636
37- token = " xoxp-28192348123947234198234" # found at https://api.slack.com/#auth)
37+ token = " xoxp-28192348123947234198234" # found at https://api.slack.com/web#authentication
3838sc = SlackClient(token)
3939print sc.api_call(" api.test" )
4040print sc.api_call(" channels.info" , channel = " 1234567890" )
@@ -46,7 +46,7 @@ print sc.api_call("channels.info", channel="1234567890")
4646import time
4747from slackclient import SlackClient
4848
49- token = " xoxp-28192348123947234198234" # found at https://api.slack.com/#auth)
49+ token = " xoxp-28192348123947234198234" # found at https://api.slack.com/web#authentication
5050sc = SlackClient(token)
5151if sc.rtm_connect():
5252 while True :
You can’t perform that action at this time.
0 commit comments